summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_event.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Replace stray direct call of f_event with filter_event().visa2021-02-271-2/+2
* kqueue: Revise filterops interfacevisa2021-02-241-41/+188
* kqueue: Fix termination assertvisa2021-01-271-2/+12
* kqueue: Revise fd close notificationvisa2021-01-171-30/+117
* Lock kernel before raising SPL in klist_lock()visa2021-01-081-3/+3
* Adjust comment about klist_invalidate()visa2021-01-071-5/+8
* Refactor klist insertion and removalvisa2020-12-251-6/+26
* Ensure that filt_dead() takes effectvisa2020-12-231-1/+2
* Clear error before each iteration in kqueue_scan()visa2020-12-231-1/+3
* Introduce klistopsvisa2020-12-201-8/+156
* Add fd close notification for kqueue-based poll() and select()visa2020-12-181-7/+38
* Make knote_{activate,remove}() internal to kern_event.c.visa2020-12-181-1/+3
* Remove kqueue_free() and use KQRELE() in kqpoll_exit().visa2020-12-161-11/+6
* Link kqpoll instances to fd_kqlist.visa2020-12-161-10/+14
* Use nkev in place of count in kqueue_scan().visa2020-12-151-7/+4
* Add kernel-only per-thread kqueue & helpers to initialize and free it.mpi2020-12-091-2/+34
* Refactor kqueue_scan() so it can be used by other syscalls.mpi2020-12-071-48/+48
* Change kqueue_scan() to keep track of collected events in the given context.mpi2020-11-251-10/+31
* kevent(2): ktrace the timeout before validating itcheloha2020-10-261-5/+5
* Refactor kqueue_scan() to use a context: a "kqueue_scan_state struct".mpi2020-10-111-27/+51
* Reduce stack usage of kqueue_scan()visa2020-08-121-8/+12
* Use klist_invalidate() in knote_processexit()visa2020-07-041-6/+14
* Extend kqueue interface with EVFILT_EXCEPT filter.mpi2020-06-221-1/+2
* Implement a simple kqfilter for deadfs matching its poll handler.mpi2020-06-151-2/+4
* Raise SPL when modifying ps_klist to prevent a race with interrupts.visa2020-06-151-2/+8
* Remove misleading XXX about locking of ps_klist. All of the kqueuevisa2020-06-141-3/+1
* Revert addition of double underbars for filter-specific flag.mpi2020-06-121-4/+4
* Rename poll-compatibility flag to better reflect what it is.mpi2020-06-111-4/+4
* Introduce kqueue_terminate() & kqueue_free(), no functional changes.mpi2020-05-301-12/+38
* Revert "Add kqueue_scan_state struct"visa2020-05-251-72/+26
* Add kqueue_scan_state structvisa2020-05-171-26/+72
* Abstract the head of knote lists. This allows extending the lists,visa2020-04-071-20/+39
* Defer selwakeup() from kqueue_wakeup() to kqueue_task() to preventvisa2020-04-071-6/+8
* Introduce kqueue_sleep() a wrapper around the tsleep(9) dance.mpi2020-04-021-21/+33
* kevent(2): tsleep(9) -> tsleep_nsec(9)cheloha2020-03-201-5/+9
* Keep function definitions in a single place.mpi2020-02-251-6/+5
* Replace field f_isfd with field f_flags in struct filterops to allowvisa2020-02-201-13/+13
* Raise SPL when updating kn_status. Otherwise the field can becomevisa2020-02-171-8/+33
* Defer chained activation of kqueues. This makes easier to introduce newvisa2020-02-141-3/+22
* Zero struct knote on allocation. This makes the code less pronevisa2020-02-091-2/+2
* Move kernel locking inside knote_fdclose() from finishdup() andvisa2020-02-051-3/+6
* Make klist_invalidate() more careful and general. Acquire knotes beforevisa2020-01-181-4/+35
* Allocate kqueue instance outside fdplock to avoid sleeping withvisa2020-01-131-5/+9
* Use atomic operations with kq_refs, to nudge the code toward MP-safety.visa2020-01-101-11/+12
* Skip fdplock when freeing a file descriptor table. The lock is notvisa2020-01-081-2/+8
* Use type M_KEVENT instead of M_TEMP when allocating kqueue-relatedvisa2020-01-061-8/+8
* Make kqlist part of filedesc and serialize access to it using fdplock.visa2020-01-061-4/+15
* Constify instances of struct fileops.visa2020-01-051-2/+2
* Fix a file descriptor close race in kqueue_register()visa2020-01-031-1/+20
* Fix some races in kqueue_register().visa2019-12-311-42/+95