diff options
| author | Alan Cox <alc@FreeBSD.org> | 2010-05-29 18:26:44 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2010-05-29 18:26:44 +0000 |
| commit | ff8ffaf43a193d0ff7ae07888d7ff2426ec939e6 (patch) | |
| tree | fbc6199ff57d312e07d86ca003e362a45629b6e6 | |
| parent | 8f0d5d3b9fcf09e3527d319ae4772c702667885f (diff) | |
Don't set PG_WRITEABLE in pmap_enter() unless the page is managed.
Notes
svn path=/head/; revision=208646
| -rw-r--r-- | sys/ia64/ia64/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c index c08eb0e5e895..beb538e44d2d 100644 --- a/sys/ia64/ia64/pmap.c +++ b/sys/ia64/ia64/pmap.c @@ -1595,7 +1595,7 @@ validate: if (icache_inval) ia64_sync_icache(va, PAGE_SIZE); - if ((prot & VM_PROT_WRITE) != 0) + if ((prot & VM_PROT_WRITE) != 0 && managed) vm_page_flag_set(m, PG_WRITEABLE); vm_page_unlock_queues(); pmap_switch(oldpmap); |
