On Fri, Jan 25, 2013 at 11:46:18AM -0600, Seth Jennings wrote: > Right now ZS_SIZE_CLASS_DELTA is hardcoded to be 16. This > creates 254 classes for systems with 4k pages. However, on > PPC64 with 64k pages, it creates 4095 classes which is far > too many. > > This patch makes ZS_SIZE_CLASS_DELTA relative to PAGE_SIZE > so that regardless of the page size, there will be the same > number of classes. > > Acked-by: Nitin Gupta <ngupta@xxxxxxxxxx> > Signed-off-by: Seth Jennings <sjenning@xxxxxxxxxxxxxxxxxx> Acked-by: Minchan Kim <minchan@xxxxxxxxxx> -- Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>