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)
Wed, Feb 5, 7:46 PM
Unknown Object (File)
Tue, Jan 28, 6:57 AM
Unknown Object (File)
Sat, Jan 25, 7:45 PM
Unknown Object (File)
Fri, Jan 17, 7:59 PM
Unknown Object (File)
Dec 27 2024, 10:21 AM
Unknown Object (File)
Nov 20 2024, 6:33 AM
Unknown Object (File)
Nov 17 2024, 6:48 AM
Unknown Object (File)
Nov 11 2024, 12:55 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