Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170942224
D59311.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
465 B
Referenced Files
None
Subscribers
None
D59311.diff
View Options
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
@@ -5978,6 +5978,7 @@
if (__predict_false(pm == NULL))
pm = &curthread->td_proc->p_vmspace->vm_pmap;
+ PMAP_LOCK(pm);
while (sz > 0) {
pa = pmap_extract(pm, va);
sync_sz = PAGE_SIZE - (va & PAGE_MASK);
@@ -5989,6 +5990,7 @@
va += sync_sz;
sz -= sync_sz;
}
+ PMAP_UNLOCK(pm);
}
static __inline void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 8, 6:31 PM (16 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37996885
Default Alt Text
D59311.diff (465 B)
Attached To
Mode
D59311: powerpc/radix: take the pmap lock in mmu_radix_sync_icache()
Attached
Detach File
Event Timeline
Log In to Comment