[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230905080147.1625448-1-maobibo@loongson.cn>
Date: Tue, 5 Sep 2023 16:01:45 +0800
From: Bibo Mao <maobibo@...ngson.cn>
To: Huacai Chen <chenhuacai@...nel.org>
Cc: WANG Xuerui <kernel@...0n.name>,
Andrew Morton <akpm@...ux-foundation.org>,
David Hildenbrand <david@...hat.com>,
loongarch@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] LoongArch: Cleanup with zero page
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
Powered by blists - more mailing lists