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
Unknown Object (File)
Thu, Aug 13, 12:19 AM
Unknown Object (File)
Wed, Aug 12, 6:06 PM
Unknown Object (File)
Tue, Aug 11, 6:47 AM
Unknown Object (File)
Mon, Aug 10, 12:59 PM
Unknown Object (File)
Mon, Aug 10, 12:47 PM
Unknown Object (File)
Mon, Aug 10, 9:57 AM
Unknown Object (File)
Sun, Aug 9, 7:24 PM
Unknown Object (File)
Sun, Aug 9, 7:24 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