summaryrefslogtreecommitdiff
path: root/sys/kern/kern_event.c
AgeCommit message (Expand)Author
2020-12-16Remove kqueue_free() and use KQRELE() in kqpoll_exit().Visa Hankala
2020-12-16Link kqpoll instances to fd_kqlist.Visa Hankala
2020-12-15Use nkev in place of count in kqueue_scan().Visa Hankala
2020-12-09Add kernel-only per-thread kqueue & helpers to initialize and free it.Martin Pieuchot
2020-12-07Refactor kqueue_scan() so it can be used by other syscalls.Martin Pieuchot
2020-11-25Change kqueue_scan() to keep track of collected events in the given context.Martin Pieuchot
2020-10-26kevent(2): ktrace the timeout before validating itcheloha
2020-10-11Refactor kqueue_scan() to use a context: a "kqueue_scan_state struct".Martin Pieuchot
2020-08-12Reduce stack usage of kqueue_scan()Visa Hankala
2020-07-04Use klist_invalidate() in knote_processexit()Visa Hankala
2020-06-22Extend kqueue interface with EVFILT_EXCEPT filter.Martin Pieuchot
2020-06-15Implement a simple kqfilter for deadfs matching its poll handler.Martin Pieuchot
2020-06-15Raise SPL when modifying ps_klist to prevent a race with interrupts.Visa Hankala
2020-06-14Remove misleading XXX about locking of ps_klist. All of the kqueueVisa Hankala
2020-06-12Revert addition of double underbars for filter-specific flag.Martin Pieuchot
2020-06-11Rename poll-compatibility flag to better reflect what it is.Martin Pieuchot
2020-05-30Introduce kqueue_terminate() & kqueue_free(), no functional changes.Martin Pieuchot
2020-05-25Revert "Add kqueue_scan_state struct"Visa Hankala
2020-05-17Add kqueue_scan_state structVisa Hankala
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-04-07Defer selwakeup() from kqueue_wakeup() to kqueue_task() to preventVisa Hankala
2020-04-02Introduce kqueue_sleep() a wrapper around the tsleep(9) dance.Martin Pieuchot
2020-03-20kevent(2): tsleep(9) -> tsleep_nsec(9)cheloha
2020-02-25Keep function definitions in a single place.Martin Pieuchot
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2020-02-17Raise SPL when updating kn_status. Otherwise the field can becomeVisa Hankala
2020-02-14Defer chained activation of kqueues. This makes easier to introduce newVisa Hankala
2020-02-09Zero struct knote on allocation. This makes the code less proneVisa Hankala
2020-02-05Move kernel locking inside knote_fdclose() from finishdup() andVisa Hankala
2020-01-18Make klist_invalidate() more careful and general. Acquire knotes beforeVisa Hankala
2020-01-13Allocate kqueue instance outside fdplock to avoid sleeping withVisa Hankala
2020-01-10Use atomic operations with kq_refs, to nudge the code toward MP-safety.Visa Hankala
2020-01-08Skip fdplock when freeing a file descriptor table. The lock is notVisa Hankala
2020-01-06Use type M_KEVENT instead of M_TEMP when allocating kqueue-relatedVisa Hankala
2020-01-06Make kqlist part of filedesc and serialize access to it using fdplock.Visa Hankala
2020-01-05Constify instances of struct fileops.Visa Hankala
2020-01-03Fix a file descriptor close race in kqueue_register()Visa Hankala
2019-12-31Fix some races in kqueue_register().Visa Hankala
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-12-29Wake up knote waiters in knote_drop(). This lets the blockedVisa Hankala
2019-12-25Replace macros knote_alloc() and knote_free() with direct use ofVisa Hankala
2019-12-12Allow sleeping inside kqueue event filters.Visa Hankala
2019-12-11Replace p_xstat with ps_xexit and ps_xsigPhilip Guenther
2019-12-07Combine macro KNOTE_ACTIVATE() with function knote_activate()Visa Hankala
2019-07-03Lock the kernel when removing file descriptors from the descriptorVisa Hankala
2019-07-01kevent(2): remove 24hr timeout limitcheloha
2019-05-04Removed all diagnostic, calling printf() here might create a recursion.Martin Pieuchot
2019-05-04Relax the check in knote_{de,en}queue: don't panic w/o KERNEL_LOCK().Martin Pieuchot
2019-05-01sprinkle some KERNEL_ASSERT_LOCKED()David Gwynne
2018-11-27EVFILT_TIMER: Remove extra tick from tvtohz(9) on timeout reload.cheloha