summaryrefslogtreecommitdiff
path: root/sys/kern/kern_event.c
AgeCommit message (Expand)Author
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
2018-11-17Avoid leaking kernel memory in struct kevent padding.Todd C. Miller
2018-09-04kevent: Don't poll for nonzero timeouts < 1us.cheloha
2018-08-20Reorder checks in the read/write(2) family of syscalls to prepare makingMartin Pieuchot
2018-08-15Grab the KERNEL_LOCK() in MP-unsafe fo_close routines. This preventsVisa Hankala
2018-08-09Remove redundant "kq == kn->kn_kq" checks. The lists kq_knhash andVisa Hankala
2018-08-07Fix dangling knote references.Visa Hankala
2018-06-18Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-06-17Move kqueue related fields from struct filedesc to struct kqueue. Solves a panicanton
2018-06-15kevent: don't reject timeouts greater than 100 million secondscheloha