summaryrefslogtreecommitdiff
path: root/sys/kern/sys_select.c
AgeCommit message (Expand)Author
2022-06-29sleepq(9): Pass syncobj through to sleepq_block.riastradh
2022-04-09select(9): Use membar_acquire/release and atomic_store_release.riastradh
2022-02-12Add inline functions to manipulate the klists that link up knotesthorpej
2021-12-10s/occured/occurred/ in comments, log messages and man pages.andvar
2021-09-29- Change selremove_knote() from returning void to bool, and returnthorpej
2020-12-11Add sel{record,remove}_knote(), so hide some of the details surroundingthorpej
2020-04-19Set LW_SINTR earlier so it doesn't pose a problem for doing interruptablead
2020-03-26Change sleepq_t from a TAILQ to a LIST and remove SOBJ_SLEEPQ_FIFO. Onlyad
2020-02-15- List all of the syncobjs in syncobj.h.ad
2020-02-01Load struct filedesc::fd_dt with atomic_load_consume.riastradh
2019-11-22Minor correction to previous.ad
2019-11-21Minor improvements to select/poll:ad
2019-09-20Validate usec ranges in sys___select50()kamil
2019-08-20 Use unsigned to avoid undefined behavior. Found by kUBSan.msaitoh
2019-07-26 Set sc_mask correctly in selsysinit() to avoid undefined behavior.msaitoh
2019-05-08Add slop of 1000 and explain why.christos
2019-05-07Use the max limit (aka maxfiles or the moral equivalent of OPEN_MAX) whichchristos
2019-05-05Remove the slop code. Suggested by mrg@christos
2019-05-04PR/54158: Anthony Mallet: poll(2) does not allow polling all possible fdschristos
2018-01-30Apply C99-style struct initialization to syncobj_tozaki-r
2017-06-01remove checks for failure after memory allocation calls that cannot fail:chs
2014-04-25Remove pollsock(). Since it took only a single socket, it was essentiallypooka
2014-02-25Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist beforepooka
2013-01-26Assert equality, not assignment, in selrecord.riastradh
2011-08-29Add kern.direct_select sysctl. Default to 0 for now.rmind
2011-08-09No need to lock the selcluster in selscan() if eitherhannken
2011-08-06Fix the races of direct select()/poll():hannken
2011-05-28If a signal did not fire, restore the original signal mask for pselect/polltschristos
2011-05-18No need to mask twice. The setup function does it.christos
2011-05-18PR/43625: Mark Davies: Fix pselect(2) to honor the temporary mask. pselect(2)christos
2011-03-06In a case of direct select, set only masked events, do not wakeup LWPrmind
2010-12-18- Fix a few possible locking issues in execve1() and exit1(). Add a notermind
2010-10-15Re-enable direct select.rmind
2010-07-12sel_setevents: fix error - match event-set, as intended.rmind
2010-07-11Disable direct select for now, since it still brings problems.rmind
2010-07-10sel_setevents: fix direct injecting of fd bit for select() case.rmind
2010-07-08sel_do_scan: do not bother to assert for SEL_SCANNING state before blocking,rmind
2010-07-08Implement direct select/poll support, currently effective for socket andrmind
2010-04-25Make select/poll work with more than 32 CPUs.ad
2009-12-20Add comment about locking.rmind
2009-12-12Bounding the 'nfds' arg to poll() at the current process limit for actualdsl
2009-11-11- selcommon/pollcommon: drop redundant l argument.rmind
2009-11-01- Move inittimeleft() and gettimeleft() to subr_time.c, where they belong.rmind
2009-11-01Move common logic in selcommon() and pollcommon() into sel_do_scan().rmind
2009-10-21Remove uarea swap-out functionality:rmind
2009-05-24More changes to improve kern_descrip.c.ad
2009-03-29Move the internal poll/select related API's to use timespec insteadchristos
2009-03-21Allocate sleep queue locks with mutex_obj_alloc. Reduces memory usagead
2009-01-11merge christos-time_tchristos
2008-11-20pollcommon: use a more appropriate type than char[].yamt