[PATCH] powerpc/mm: Implement _PAGE_SPECIAL & pte_special() for 32-bit

Kumar Gala galak at kernel.crashing.org
Fri Aug 1 04:50:28 EST 2008


On Jul 31, 2008, at 1:48 PM, Kumar Gala wrote:

> Implement _PAGE_SPECIAL and pte_special() for 32-bit powerpc. This  
> bit will
> be used by the fast get_user_pages() to differenciate PTEs that  
> correspond
> to a valid struct page from special mappings that don't such as IO  
> mappings
> obtained via io_remap_pfn_ranges().
>
> We currently only implement this on sub-arch that support SMP or  
> will so
> in the future (6xx, 44x, FSL-BookE) and not (8xx, 40x).
>
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> Nick, do you forsee using _PAGE_SPECIAL for other applications that  
> would
> be of interested to non-SMP hw?
>
> We can look at adding it into 8xx and 40x, but was being lazy as I  
> assume
> there is no point.
>
> - k

Josh,

Can you test this on 44x for me.

thanks

- k
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



More information about the Linuxppc-dev mailing list