]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Instead of looking up a predecessor or successor to the current map
authorDoug Moore <dougm@FreeBSD.org>
Wed, 20 Nov 2019 16:06:48 +0000 (16:06 +0000)
committerDoug Moore <dougm@FreeBSD.org>
Wed, 20 Nov 2019 16:06:48 +0000 (16:06 +0000)
commit83704cc2364d19cb0dd2ad7ec4371afece02662b
treefa4dd61b2cec6c22630e9f4e9dbd25e7fb437c09
parent0cb5357037c0169cb546365878afe601bd2d6c8b
Instead of looking up a predecessor or successor to the current map
entry, when that entry has been seen already, keep the
already-looked-up value in a variable and use that instead of looking
it up again.

Approved by: alc, markj (earlier version), kib (earlier version)
Differential Revision: https://reviews.freebsd.org/D22348
sys/security/mac/mac_process.c
sys/vm/vm_map.c
sys/vm/vm_map.h