Page MenuHomeFreeBSD

Pass malloc flags directly through kevent subroutines.
ClosedPublic

Authored by markj on Nov 23 2018, 9:59 PM.
Tags
None
Referenced Files
F170923073: D18318.id51070.diff
Mon, Sep 7, 3:16 PM
F170886638: D18318.id51070.diff
Mon, Sep 7, 7:54 AM
Unknown Object (File)
Sun, Sep 6, 2:05 PM
Unknown Object (File)
Sun, Sep 6, 6:08 AM
Unknown Object (File)
Sun, Sep 6, 3:32 AM
Unknown Object (File)
Sat, Sep 5, 7:13 AM
Unknown Object (File)
Fri, Sep 4, 9:18 AM
Unknown Object (File)
Thu, Sep 3, 11:18 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