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)
Sat, Jun 13, 3:22 AM
Unknown Object (File)
Tue, Jun 9, 12:38 AM
Unknown Object (File)
Sun, May 31, 7:37 AM
Unknown Object (File)
Sun, May 31, 7:34 AM
Unknown Object (File)
Mon, May 25, 4:26 PM
Unknown Object (File)
Mon, May 25, 4:17 PM
Unknown Object (File)
May 19 2026, 7:10 AM
Unknown Object (File)
May 19 2026, 7:07 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