From 9bcc195536deaf4c038ae78186a474578d57a9ec Mon Sep 17 00:00:00 2001 From: SeongJae Park Date: Tue, 24 Aug 2021 09:59:47 +1000 Subject: [PATCH] mm/damon/Kconfig: Remove unnecessary PAGE_EXTENSION setup Commit 13d49dbd0123 ("mm/damon: implement primitives for the virtual memory address spaces") of linux-mm[1] makes DAMON_VADDR to set PAGE_IDLE_FLAG. PAGE_IDLE_FLAG sets PAGE_EXTENSION if !64BIT. However, DAMON_VADDR do the same work again. This commit removes the unnecessary duplicate. [1] https://github.com/hnaz/linux-mm/commit/13d49dbd0123 Link: https://lkml.kernel.org/r/20210806095153.6444-2-sj38.park@gmail.com Fixes: 13d49dbd0123 ("mm/damon: implement primitives for the virtual memory address spaces") Signed-off-by: SeongJae Park Reported-by: Randy Dunlap Acked-by: Randy Dunlap Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Stephen Rothwell --- mm/damon/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/damon/Kconfig b/mm/damon/Kconfig index 8ae080c52950e..5cbb5db541587 100644 --- a/mm/damon/Kconfig +++ b/mm/damon/Kconfig @@ -15,7 +15,6 @@ config DAMON config DAMON_VADDR bool "Data access monitoring primitives for virtual address spaces" depends on DAMON && MMU - select PAGE_EXTENSION if !64BIT select PAGE_IDLE_FLAG help This builds the default data access monitoring primitives for DAMON -- 2.50.1