lkml.org 
[lkml]   [2023]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] LoongArch: Cleanup with zero page
Date
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

\
 
 \ /
  Last update: 2023-09-05 18:37    [W:0.093 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site