FreeBSD/src c1ad534 (r355491) — sys/vm vm_map.c vm_map.h
Remove the next and prev fields from vm_map_entry, to save a bit of space. Where the vm_map tree now has null pointers, store pointers to next and previous entries in right and left fields, making the binary tree threaded. Have the predecessor and successor functions compute what the prev and next fields previously stored. Reviewed by: markj, kib (previous version) Tested by: pho (previous version) Differential Revision: https://reviews.freebsd.org/D21964
Delta | File | |
---|---|---|
+137 | -80 | sys/vm/vm_map.c |
+23 | -13 | sys/vm/vm_map.h |
+160 | -93 | 2 files |