Page MenuHomeFreeBSD

boolean_t to bool in wire/unwire fucntions
ClosedPublic

Authored by dougm on Jul 3 2019, 10:28 PM.
Tags
None
Referenced Files
F156716315: D20846.id59374.diff
Fri, May 15, 9:02 PM
F156716249: D20846.id59407.diff
Fri, May 15, 9:02 PM
F156716237: D20846.id59406.diff
Fri, May 15, 9:02 PM
F156715815: D20846.diff
Fri, May 15, 8:58 PM
Unknown Object (File)
Mon, May 11, 1:24 AM
Unknown Object (File)
Tue, May 5, 4:47 AM
Unknown Object (File)
Mon, May 4, 11:36 AM
Unknown Object (File)
Sun, May 3, 11:43 PM
Subscribers

Details

Summary

Change boolean_t variables in vm_map_unwire and vm_map_wire_locked to bool. Drop result variable. Add holes_ok bool to replace repeated masking of flags parameter.

This is part of a larger patch that I've been ask to break up into smaller pieces.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

dougm added a reviewer: markj.

Thanks, I was also going to suggest extracting this patch into a separate commit.

sys/vm/vm_map.c
3217 ↗(On Diff #59374)

Shouldn't it be KASSERT(false)?

Resolve merge conflicts. Don't confuse true with false.

This revision is now accepted and ready to land.Jul 4 2019, 7:09 PM