On Fri, Mar 03, 2006 at 07:57:24AM -0800, Roland Dreier wrote: > Heiko> Hello Christoph, I only did kmalloc(PAGE_SIZE, GFP_KERNEL) > Heiko> because we need some amount of memory which is 4k > Heiko> aligned. I'm not sure, but I think if I use kmalloc(SIZE, > Heiko> GFP_KERNEL) and SIZE is smaller as 4k the memory will not > Heiko> be 4k aligned? > > If you need something 4K aligned then you should be using 4096 instead > of PAGE_SIZE -- it's entirely possible to build a ppc64 kernel with > PAGE_SIZE == 65536.
IA64 .config options allows 4k, 8K, 16K, 64K. Default page size is 16k. SLES9 versions for SGI/Altix use 64K as the default. hth, grant _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
