[PATCH] ppc: Add support for bigger page sizes than 4KB on PPC44x

Yuri Tikhonov yur at emcraft.com
Sat Mar 17 22:41:51 EST 2007


On Saturday 17 March 2007 01:34, Paul Mackerras wrote:
> Your patch would still let users select a page shift of 13 or 15,
> which won't work (and can't be made to work).

 Selecting 13 or 15 will lead to a compile-time error "Unsupported PAGE_SIZE" 
(in include/asm/ppc_page_asm.h), so users will not be able to run kernel with 
PAGE_SIZE different than 4K, 16K or 64K anyway. 

 Do you think that replacing one integer option CONFIG_PPC_PAGE_SHIFT with 
three logical options (i.e., CONFIG_PPC_PAGE_SIZE_4K, 
CONFIG_PPC_PAGE_SIZE_16K and CONFIG_PPC_PAGE_SIZE_64K) will be the better 
choice ?

 Regards, Yuri.



More information about the Linuxppc-dev mailing list