Make page fault preempt-safe
PATCH 1/1 Make page fault preempt-safe
Like the udelay() patch, this makes vmalloc_fault() preempt-safe under DEBUG_PREEMPT.
Signed-off-by Deepak Saxena <[email protected]>
arch/mips/mm/fault.c +1 -1
@@ -228,7 +228,7 @@ vmalloc_fault:pmd_t *pmd, *pmd_k;pte_t *pte_k; - pgd = (pgd_t *) pgd_current[smp_processor_id ()] + offset; + pgd = (pgd_t *) pgd_current[raw_smp_processor_id ()] + offset; pgd_k = init_mm.pgd + offset;if (!pgd_present (*pgd_k))
Signature · 4 lines
Deepak Saxena - [email protected] - http://www.plexity.net In the end, they will not say, "those were dark times," they will ask "why were their poets silent?" - Bertolt Brecht
Quoted 2 lines · Deepak Saxena
Like the
udelay()patch, this makesvmalloc_fault()preempt-safe underDEBUG_PREEMPT.
There were two more instances which also needed to be fixed, so I just did that.
Ralf