X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=mm%2FKconfig;h=b53427ad30a34618e6c8da34ffcc540a581de552;hb=8fe74cf053de7ad2124a894996f84fa890a81093;hp=a5b77811fdf2c4b5f6b14a8d971a6519f6e420c6;hpb=57c44c5f6fb0a8002feb258c1af58e1a744b1fcb;p=mirror_ubuntu-bionic-kernel.git diff --git a/mm/Kconfig b/mm/Kconfig index a5b77811fdf2..b53427ad30a3 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -206,7 +206,6 @@ config VIRT_TO_BUS config UNEVICTABLE_LRU bool "Add LRU list to track non-evictable pages" default y - depends on MMU help Keeps unevictable pages off of the active and inactive pageout lists, so kswapd will not waste CPU time or have its balancing @@ -214,5 +213,13 @@ config UNEVICTABLE_LRU will use one page flag and increase the code size a little, say Y unless you know what you are doing. +config HAVE_MLOCK + bool + default y if MMU=y + +config HAVE_MLOCKED_PAGE_BIT + bool + default y if HAVE_MLOCK=y && UNEVICTABLE_LRU=y + config MMU_NOTIFIER bool