[Cbe-oss-dev] [PATCH 1/3] spufs: remove need for struct page for SPEs

Arnd Bergmann arnd at arndb.de
Tue Feb 13 23:15:33 EST 2007


On Tuesday 13 February 2007 01:46, Benjamin Herrenschmidt wrote:
> This patch removes the need for struct page for SPE local store
> and registers from spufs. It also makes the locking much more
> obvious and no longer relying on the truncate logic black magic
> for protecting against races between unmap_mapping_range() and
> new pages faulted in. It does so by switching to a nopfn() handler
> and using the new vm_insert_pfn() to setup the PTEs itself while
> holding a lock on the SPE.
> 
> The nice thing is that this patch actually removes a lot more code
> than it adds :-)
> 
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

Acked-by: Arnd Bergmann <arnd.bergmann at de.ibm.com>



More information about the Linuxppc-dev mailing list