Messages in this thread | | | From | Bibo Mao <> | Subject | [PATCH 0/2] LoongArch: Cleanup with zero page | Date | Tue, 5 Sep 2023 16:01:45 +0800 |
| |
There is no color page and only one page for zero page, so symbol zero_page_mask can be removed. Also like other architectures this patch uses statically defined zero_page in bss code segment, rather than dynamically allocated page for zero_page usage.
--- Bibo Mao (2): LoongArch: Remove zero_page_mask symbol LoongArch: Use static defined zero page rather than allocated
arch/loongarch/include/asm/mmzone.h | 2 -- arch/loongarch/include/asm/pgtable.h | 8 ++------ arch/loongarch/kernel/numa.c | 1 - arch/loongarch/mm/init.c | 28 +--------------------------- 4 files changed, 3 insertions(+), 36 deletions(-)
-- 2.27.0
| |