summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2018-05-09 14:42:12 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2018-05-09 14:42:12 +0000
commitbf4a4cce6e53c019342907f4953164dd7f3f4231 (patch)
treeff710545d8d7c461165e61729ec7822d80486c3c /lib
parente8f3ceb0944b144b6747a2c1e752254d2a98b70e (diff)
Avoid locking two vm_pages simultaneously in pmap_enter(). To achieve
that, remove any existing mapping before locking the new vm_page. This fix prevents a deadlock. Issue pointed out by witness(4).
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions