Page MenuHomeFreeBSD

D62362.1796395542.diff
No OneTemporary

Authored By
Unknown
Size
544 B
Referenced Files
None
Subscribers
None

D62362.1796395542.diff

diff --git a/sys/powerpc/aim/mmu_radix.c b/sys/powerpc/aim/mmu_radix.c
--- a/sys/powerpc/aim/mmu_radix.c
+++ b/sys/powerpc/aim/mmu_radix.c
@@ -4548,6 +4548,8 @@
}
if (prot & VM_PROT_EXECUTE)
newpde |= PG_X;
+ else
+ newpde &= ~PG_X;
if (newpde != oldpde) {
/*
* As an optimization to future operations on this PDE, clear
@@ -4668,6 +4670,8 @@
}
if (prot & VM_PROT_EXECUTE)
pbits |= PG_X;
+ else
+ pbits &= ~PG_X;
if (pbits != obits) {
if (!atomic_cmpset_long(pte, htobe64(obits), htobe64(pbits)))

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 4, 2:45 PM (20 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42209059
Default Alt Text
D62362.1796395542.diff (544 B)

Event Timeline