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
F163937203: D56341.id175215.diff
Mon, Jul 27, 7:47 AM
Unknown Object (File)
Sun, Jul 26, 3:44 PM
Unknown Object (File)
Sat, Jul 25, 8:13 AM
Unknown Object (File)
Fri, Jul 24, 9:49 PM
Unknown Object (File)
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
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