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)
Mon, Jun 16, 10:48 PM
Unknown Object (File)
Sat, Jun 14, 11:46 PM
Unknown Object (File)
Fri, Jun 13, 10:33 AM
Unknown Object (File)
Jun 12 2025, 10:40 PM
Unknown Object (File)
Jun 12 2025, 10:29 AM
Unknown Object (File)
Jun 10 2025, 1:56 AM
Unknown Object (File)
May 25 2025, 9:54 AM
Unknown Object (File)
Mar 21 2025, 11:35 PM
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