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, Sep 21, 2:46 PM
Unknown Object (File)
Sun, Sep 21, 1:22 PM
Unknown Object (File)
Aug 24 2025, 1:23 PM
Unknown Object (File)
Aug 23 2025, 3:25 AM
Unknown Object (File)
Jul 27 2025, 2:03 PM
Unknown Object (File)
Jul 26 2025, 5:24 PM
Unknown Object (File)
Jun 16 2025, 10:48 PM
Unknown Object (File)
Jun 14 2025, 11:46 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