Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153356460
D29230.id86571.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.id86571.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
Tue, Apr 21, 4:35 PM (25 m, 59 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31895726
Default Alt Text
D29230.id86571.diff (574 B)
Attached To
Mode
D29230: Add support for superpages - pmap_mincore [powerpc64]
Attached
Detach File
Event Timeline
Log In to Comment