Re: [PATCH v2] POWERPC: Allow 32-bit pgtable code to support 36-bit physical
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2008-08-31 08:22:46
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2008-08-31 08:22:46
On Sat, 2008-08-30 at 11:24 -0500, Scott Wood wrote:
On Fri, Aug 29, 2008 at 08:42:01AM +1000, Benjamin Herrenschmidt wrote:quoted
For the non-SMP case, I think it should be possible to optimize it. The only thing that can happen at interrupt time is hashing of kernel or vmalloc/ioremap pages, which shouldn't compete with set_pte on those pages, so there would be no access races there, but I may be missing something as it's the morning and I about just woke up :-)Is that still true with preemptible kernels?
Those shouldn't be an issue as long as we can't preempt while holding a spinlock and we do hold the pte lock on any modification... Of course, -rt is a different matter. Ben.