[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174753967071.24504.9586296033974318959.b4-ty@linux.ibm.com>
Date: Sun, 18 May 2025 09:14:12 +0530
From: Madhavan Srinivasan <maddy@...ux.ibm.com>
To: Michael Ellerman <mpe@...erman.id.au>, Nicholas Piggin <npiggin@...il.com>,
Naveen N Rao <naveen@...nel.org>,
Christophe Leroy <christophe.leroy@...roup.eu>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] powerpc/8xx: Reduce alignment constraint for kernel memory
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
Powered by blists - more mailing lists