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
F110982814: D20846.diff
Tue, Feb 25, 6:59 PM
Unknown Object (File)
Sat, Feb 8, 5:58 AM
Unknown Object (File)
Sat, Feb 8, 5:45 AM
Unknown Object (File)
Sat, Feb 8, 4:37 AM
Unknown Object (File)
Sat, Feb 8, 2:49 AM
Unknown Object (File)
Wed, Jan 29, 4:48 AM
Unknown Object (File)
Mon, Jan 27, 11:55 AM
Unknown Object (File)
Jan 19 2025, 7:48 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

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

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