mm: memory: reduce fault_around_bytes
mapping multiple pages on a fault result in page_check_references hitting more number of referenced inactive pages and this results in increased pressure on reclaim. Reduce it to the lowest possible value. Reduced kswapd wakeups are observed with this change. Change-Id: I03c6cac9f28fa328abab7b40f5f01144084a147c Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
This commit is contained in:
parent
0e1466b439
commit
d7749d7f8e
1 changed files with 1 additions and 1 deletions
|
@ -2831,7 +2831,7 @@ void do_set_pte(struct vm_area_struct *vma, unsigned long address,
|
|||
}
|
||||
|
||||
static unsigned long fault_around_bytes __read_mostly =
|
||||
rounddown_pow_of_two(65536);
|
||||
rounddown_pow_of_two(4096);
|
||||
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
static int fault_around_bytes_get(void *data, u64 *val)
|
||||
|
|
Loading…
Add table
Reference in a new issue