Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107324930
D29230.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
574 B
Referenced Files
None
Subscribers
None
D29230.diff
View Options
diff --git a/sys/powerpc/aim/mmu_oea64.c b/sys/powerpc/aim/mmu_oea64.c
--- a/sys/powerpc/aim/mmu_oea64.c
+++ b/sys/powerpc/aim/mmu_oea64.c
@@ -1400,13 +1400,15 @@
PMAP_LOCK(pmap);
- /* XXX Add support for superpages */
pvo = moea64_pvo_find_va(pmap, addr);
if (pvo != NULL) {
pa = PVO_PADDR(pvo);
m = PHYS_TO_VM_PAGE(pa);
managed = (pvo->pvo_vaddr & PVO_MANAGED) == PVO_MANAGED;
- val = MINCORE_INCORE;
+ if (PVO_IS_SP(pvo))
+ val = MINCORE_INCORE | MINCORE_PSIND(1);
+ else
+ val = MINCORE_INCORE;
} else {
PMAP_UNLOCK(pmap);
return (0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 13, 12:38 PM (21 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15782019
Default Alt Text
D29230.diff (574 B)
Attached To
Mode
D29230: Add support for superpages - pmap_mincore [powerpc64]
Attached
Detach File
Event Timeline
Log In to Comment