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)
Sun, Nov 16, 10:09 PM
Unknown Object (File)
Sun, Nov 16, 8:06 PM
Unknown Object (File)
Thu, Nov 13, 4:34 AM
Unknown Object (File)
Thu, Nov 13, 4:19 AM
Unknown Object (File)
Thu, Nov 13, 12:12 AM
Unknown Object (File)
Wed, Nov 12, 11:23 PM
Unknown Object (File)
Wed, Nov 12, 7:35 PM
Unknown Object (File)
Wed, Oct 29, 6:33 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