Page MenuHomeFreeBSD

kevent: do not check knote lists being empty before removing a knote
ClosedPublic

Authored by kib on Apr 10 2026, 8:30 AM.
Tags
None
Referenced Files
F163279653: D56341.diff
Tue, Jul 21, 4:48 PM
Unknown Object (File)
Wed, Jul 15, 7:16 AM
Unknown Object (File)
Wed, Jul 15, 7:16 AM
Unknown Object (File)
Sun, Jul 5, 5:46 PM
Unknown Object (File)
Mon, Jun 29, 12:00 PM
Unknown Object (File)
Mon, Jun 22, 12:00 AM
Unknown Object (File)
Jun 20 2026, 9:11 PM
Unknown Object (File)
Jun 20 2026, 9:27 AM
Subscribers

Details

Summary
If knote belongs to the list, there is no reason to check for the list
emptiness.  On the other hand, if the knote does not belong to the list,
then checking for emptiness is not enough since there might be a
different knote there.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable