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, Sep 28, 12:50 AM
Unknown Object (File)
Sun, Sep 27, 11:13 PM
Unknown Object (File)
Wed, Sep 23, 6:14 AM
Unknown Object (File)
Thu, Sep 10, 11:36 PM
Unknown Object (File)
Tue, Sep 8, 11:37 AM
Unknown Object (File)
Mon, Sep 7, 3:16 PM
Unknown Object (File)
Mon, Sep 7, 7:54 AM
Unknown Object (File)
Sun, Sep 6, 2:05 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

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