summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_event.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
* Use C99 designated initializers with struct filterops. In addition,visa2019-12-311-18/+36
* Wake up knote waiters in knote_drop(). This lets the blockedvisa2019-12-291-1/+5
* Replace macros knote_alloc() and knote_free() with direct use ofvisa2019-12-251-11/+4
* Allow sleeping inside kqueue event filters.visa2019-12-121-17/+143
* Replace p_xstat with ps_xexit and ps_xsigguenther2019-12-111-2/+3
* Combine macro KNOTE_ACTIVATE() with function knote_activate()visa2019-12-071-11/+7
* Lock the kernel when removing file descriptors from the descriptorvisa2019-07-031-1/+3
* kevent(2): remove 24hr timeout limitcheloha2019-07-011-46/+27
* Removed all diagnostic, calling printf() here might create a recursion.mpi2019-05-041-9/+1
* Relax the check in knote_{de,en}queue: don't panic w/o KERNEL_LOCK().mpi2019-05-041-3/+9
* sprinkle some KERNEL_ASSERT_LOCKED()dlg2019-05-011-1/+3
* EVFILT_TIMER: Remove extra tick from tvtohz(9) on timeout reload.cheloha2018-11-271-2/+6
* Avoid leaking kernel memory in struct kevent padding.millert2018-11-171-1/+2
* kevent: Don't poll for nonzero timeouts < 1us.cheloha2018-09-041-23/+19
* Reorder checks in the read/write(2) family of syscalls to prepare makingmpi2018-08-201-8/+5
* Grab the KERNEL_LOCK() in MP-unsafe fo_close routines. This preventsvisa2018-08-151-1/+5
* Remove redundant "kq == kn->kn_kq" checks. The lists kq_knhash andvisa2018-08-091-4/+2
* Fix dangling knote references.visa2018-08-071-34/+5
* Put file descriptors on shared data structures when they are completelympi2018-06-181-6/+8
* Move kqueue related fields from struct filedesc to struct kqueue. Solves a panicanton2018-06-171-46/+56
* kevent: don't reject timeouts greater than 100 million secondscheloha2018-06-151-2/+2
* Revert introduction of fdinsert(), a sanitify check triggers whenmpi2018-06-051-8/+6