Page MenuHomeFreeBSD

Pass malloc flags directly through kevent subroutines.
ClosedPublic

Authored by markj on Nov 23 2018, 9:59 PM.
Tags
None
Referenced Files
F170726865: D18318.id51070.diff
Sun, Sep 6, 6:08 AM
F170708435: D18318.id51024.diff
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
Unknown Object (File)
Thu, Sep 3, 5:04 PM
Unknown Object (File)
Thu, Sep 3, 12:09 PM
Unknown Object (File)
Thu, Sep 3, 11:25 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable