From: Madhavan Srinivasan <maddy@linux.ibm.com>
To: Michael Ellerman <mpe@ellerman.id.au>,
Nicholas Piggin <npiggin@gmail.com>,
Naveen N Rao <naveen@kernel.org>,
Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] powerpc/8xx: Reduce alignment constraint for kernel memory
Date: Sun, 18 May 2025 09:14:12 +0530 [thread overview]
Message-ID: <174753967071.24504.9586296033974318959.b4-ty@linux.ibm.com> (raw)
In-Reply-To: <fa9927b70df13627cdf10b992ea71d6562c7760e.1746191262.git.christophe.leroy@csgroup.eu>
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
prev parent reply other threads:[~2025-05-18 3:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-02 13:07 Christophe Leroy
2025-05-18 3:44 ` Madhavan Srinivasan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=174753967071.24504.9586296033974318959.b4-ty@linux.ibm.com \
--to=maddy@linux.ibm.com \
--cc=christophe.leroy@csgroup.eu \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=naveen@kernel.org \
--cc=npiggin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®