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 17, 6:48 AM
Unknown Object (File)
Mon, Nov 11, 12:55 AM
Unknown Object (File)
Sun, Oct 27, 7:18 AM
Unknown Object (File)
Sat, Oct 26, 11:12 AM
Unknown Object (File)
Oct 2 2024, 9:00 PM
Unknown Object (File)
Oct 1 2024, 2:50 PM
Unknown Object (File)
Sep 30 2024, 8:05 AM
Unknown Object (File)
Sep 30 2024, 6: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

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