mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-28 15:47:16 -04:00
Add HIGHMEM (High Memory) support for LoongArch, mostly needed by 32BIT kernel because the size of kernel virtual memory space is only 512MB and the size of usable physical memory is only 256MB in this case. HIGHMEM adds permanent kernel mapping (PKMAP) and fixed kernel mapping (FIX_KMAP), which increase usable physical memory up to 2.25GB (2304MB). We can just use the generic copy_user_highpage(), so remove the custom version. Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
15 lines
401 B
Makefile
15 lines
401 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the Linux/LoongArch-specific parts of the memory manager.
|
|
#
|
|
|
|
obj-y += init.o cache.o tlb.o tlbex.o extable.o \
|
|
fault.o ioremap.o maccess.o mmap.o pgtable.o \
|
|
page.o pageattr.o
|
|
|
|
obj-$(CONFIG_HIGHMEM) += highmem.o
|
|
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
|
|
obj-$(CONFIG_KASAN) += kasan_init.o
|
|
|
|
KASAN_SANITIZE_kasan_init.o := n
|