mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 11:56:47 +07:00
fa2d8369a1
Since change_page_attr() is tricky code it is good to have some regression test code. This patch maps and unmaps some random pages in the direct mapping at boot and then dumps the state and does some simple sanity checks. Add it with a CONFIG option. Signed-off-by: Andi Kleen <ak@suse.de> Acked-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
11 lines
347 B
Plaintext
11 lines
347 B
Plaintext
#
|
|
# Makefile for the linux x86_64-specific parts of the memory manager.
|
|
#
|
|
|
|
obj-y := init_64.o fault_64.o ioremap_64.o extable.o pageattr_64.o mmap.o
|
|
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
|
|
obj-$(CONFIG_NUMA) += numa_64.o
|
|
obj-$(CONFIG_K8_NUMA) += k8topology_64.o
|
|
obj-$(CONFIG_ACPI_NUMA) += srat_64.o
|
|
obj-$(CONFIG_CPA_DEBUG) += pageattr-test.o
|