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
F156055556: D56341.id175215.diff
Sun, May 10, 10:53 AM
Unknown Object (File)
Sat, May 9, 3:59 PM
Unknown Object (File)
Sat, May 9, 3:58 PM
Unknown Object (File)
Thu, Apr 30, 6:39 AM
Unknown Object (File)
Tue, Apr 28, 8:12 AM
Unknown Object (File)
Sat, Apr 25, 8:08 AM
Unknown Object (File)
Fri, Apr 24, 10:39 PM
Unknown Object (File)
Fri, Apr 24, 4:14 PM
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