diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2018-05-09 14:42:12 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2018-05-09 14:42:12 +0000 |
commit | bf4a4cce6e53c019342907f4953164dd7f3f4231 (patch) | |
tree | ff710545d8d7c461165e61729ec7822d80486c3c /lib | |
parent | e8f3ceb0944b144b6747a2c1e752254d2a98b70e (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