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

Paul Mackerras paulus at samba.org
Tue Mar 13 15:56:15 EST 2007


Stefan Roese writes:

> +config PPC_PAGE_SHIFT
> +	int "Page size (12=>4KB; 16=>64KB)"
> +	default "12"
> +	range 12 16
> +	help
> +	  The PAGE_SIZE definition. Increasing the page size may 
> +	  improve the system performance in some dedicated cases.
> +
> +	  If unsure, set it to 12 (4KB).

[snip]

> +#else
> +#error "Unsupported PAGE_SIZE"
> +#endif

If you only support 4k and 64k page sizes, why do you let the user
choose 13, 14 or 15 for PPC_PAGE_SHIFT?  Why not just have a "64k
pages" boolean option like 64-bit powerpc does?

Paul.



More information about the Linuxppc-dev mailing list