On Fri, 02 May 2025 15:07:53 +0200, Christophe Leroy wrote: > 8xx has three large page sizes: 8M, 512k and 16k. > > A too big alignment can lead to wasting memory. On a board which has > only 32 MBytes of RAM, every single byte is worth it and a 512k > alignment is sometimes too much. > > Allow mapping kernel memory with 16k pages and reduce the constraint > on kernel memory alignment. 512k and 16k pages are handled the same > way so reverse tests in order to make 8M pages the special case and > other ones (512k and 16k) the alternative. > > [...]
Applied to powerpc/next. [1/1] powerpc/8xx: Reduce alignment constraint for kernel memory https://git.kernel.org/powerpc/c/f9cb1476ade41ba859e6f41323e76284b297d7c2 Thanks