summaryrefslogtreecommitdiff
path: root/sys/kern/kern_event.c
AgeCommit message (Expand)Author
2021-07-24Modifying a knote must be done with the corresponding lock held. AssertMartin Pieuchot
2021-07-22Make kqpoll_dequeue() usable with lazy removal of knotesVisa Hankala
2021-06-16kqueue: kq_lock is needed when updating kn_statusVisa Hankala
2021-06-11Remember to lock kqueue mutex in filt_timermodify().Visa Hankala
2021-06-10Serialize internals of kqueue with a mutexVisa Hankala
2021-06-02Enable pool cache on knote poolVisa Hankala
2021-04-22kqueue: Make timer re-addition reset existing timerVisa Hankala
2021-02-27Replace stray direct call of f_event with filter_event().Visa Hankala
2021-02-24kqueue: Revise filterops interfaceVisa Hankala
2021-01-27kqueue: Fix termination assertVisa Hankala
2021-01-17kqueue: Revise fd close notificationVisa Hankala
2021-01-08Lock kernel before raising SPL in klist_lock()Visa Hankala
2021-01-07Adjust comment about klist_invalidate()Visa Hankala
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-12-23Ensure that filt_dead() takes effectVisa Hankala
2020-12-23Clear error before each iteration in kqueue_scan()Visa Hankala
2020-12-20Introduce klistopsVisa Hankala
2020-12-18Add fd close notification for kqueue-based poll() and select()Visa Hankala
2020-12-18Make knote_{activate,remove}() internal to kern_event.c.Visa Hankala
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