diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2025-05-02 15:07:53 +0200 |
---|---|---|
committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2025-05-12 10:18:11 +0530 |
commit | f9cb1476ade41ba859e6f41323e76284b297d7c2 (patch) | |
tree | 9409518328848b7050b269c2a041c83e9ff26286 /scripts/lib/kdoc/kdoc_files.py | |
parent | 5a821e2d69e26b51b7f3740b6b0c3462b8cacaff (diff) |
powerpc/8xx: Reduce alignment constraint for kernel memory
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.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/fa9927b70df13627cdf10b992ea71d6562c7760e.1746191262.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions