Page MenuHomeFreeBSD

Pass malloc flags directly through kevent subroutines.
ClosedPublic

Authored by markj on Nov 23 2018, 9:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 7, 6:28 AM
Unknown Object (File)
Tue, Apr 28, 8:39 AM
Unknown Object (File)
Tue, Apr 28, 1:53 AM
Unknown Object (File)
Mon, Apr 27, 6:20 PM
Unknown Object (File)
Apr 26 2026, 8:48 PM
Unknown Object (File)
Apr 21 2026, 9:49 AM
Unknown Object (File)
Apr 19 2026, 4:51 PM
Unknown Object (File)
Apr 16 2026, 6:21 AM
Subscribers

Details

Summary

Some kevent functions have a boolean "waitok" parameter to pass to
malloc(9). Replace them with the corresponding malloc() flags: this is
more clear and removes the need for conditional branches when
translating from a boolean flag to a malloc flag.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21183
Build 20538: arc lint + arc unit