diff options
| author | Liam Mark <lmark@codeaurora.org> | 2014-04-11 17:26:15 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:03:26 -0700 |
| commit | 585690954ef42cfcda9357a37b6e9e8ccdd33d7c (patch) | |
| tree | 6308cd09de30bc69337fbee92f0ef8342f11a56b /mm/Kconfig | |
| parent | 80370b5f592b4ee469f23447e1517cd78d0860ef (diff) | |
mm: vmscan: support equal reclaim for anon and file pages
When performing memory reclaim support treating anonymous and
file backed pages equally.
Swapping anonymous pages out to memory can be efficient enough
to justify treating anonymous and file backed pages equally.
CRs-Fixed: 648984
Change-Id: I6315b8557020d1e27a34225bb9cefbef1fb43266
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Diffstat (limited to 'mm/Kconfig')
| -rw-r--r-- | mm/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig index 97a4e06b15c0..3ca6a255de03 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -619,6 +619,15 @@ config MAX_STACK_SIZE_MB A sane initial value is 80 MB. +config BALANCE_ANON_FILE_RECLAIM + bool "During reclaim treat anon and file backed pages equally" + depends on SWAP + help + When performing memory reclaim treat anonymous and file backed pages + equally. + Swapping anonymous pages out to memory can be efficient enough to justify + treating anonymous and file backed pages equally. + # For architectures that support deferred memory initialisation config ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT bool |
