Module Name: src Committed By: riastradh Date: Thu Aug 15 11:33:21 UTC 2024
Modified Files: src/sys/uvm: uvm_map.c Log Message: uvm_map(9): Apply the same orig_hint clamp again to the same entry. Previous change dealt with case like length=0x1000 and: [0x7defb000,0x7defc000) entry above orig_hint (entry->next) 0x77895000 orig_hint [0x77894000,0x77895000) entry below orig_hint (entry) by changing entry->next->start - length to MIN(orig_hint, entry->next->start - length) in order to enforce monotonicity of search. In this case, if the tree search for a gap has failed, we retry with a list search with exactly the same orig_hint and entry -- nothing has changed them (only hint and tmp). So apply the same clamping. PR kern/51254: uvm assertion "!topdown || hint <= orig_hint" failed To generate a diff of this commit: cvs rdiff -u -r1.424 -r1.425 src/sys/uvm/uvm_map.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.