[PATCH 0/2] LoongArch: Cleanup with zero page

From: Bibo Mao
Date: Tue Sep 05 2023 - 12:34:14 EST


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