android_kernel_motorola_sm6375/fs/proc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Prakash Gupta a25275e2bd mm: do not shrink pages marked for reclaim by MADV_FREE
MADV_FREE clears pte dirty bit and then marks the page lazyfree (clear
SwapBacked). PPR increments ISOLATE_FILES count, then isolates page and
invokes a reclaim. Inbetween if this lazyfreed page is touched by user then
it becomes dirty.  PPR in shrink_page_list in try_to_unmap finds the page
dirty, marks it back as PageSwapBacked and skips reclaim. As PageSwapBacked
set, PPR identifies the page as anon and decrements ISOLATED_ANON, thus
creating isolated count mismatch.

This results in too_many_isolated() check causing delay in reclaim. Skip
reclaiming lazyfreed pages in PPR path.

Change-Id: I87223c4fa492c5e373ac48f116384b5de03da9fa
Signed-off-by: Prakash Gupta <[email protected]>
Signed-off-by: Vinayak Menon <[email protected]>
2020-11-09 09:04:50 +05:30
..
array.c
base.c FROMGIT: mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary 2020-09-16 09:56:55 -07:00
cmdline.c
consoles.c
cpuinfo.c
devices.c
fd.c
fd.h
generic.c
inode.c proc: Use new_inode not new_inode_pseudo 2020-06-17 16:40:33 +02:00
internal.h Merge "mm: Remove shrink_page" 2020-05-27 00:13:41 -07:00
interrupts.c
Kconfig Revert "ANDROID: proc: Add /proc/uid directory" 2020-03-06 20:23:08 +00:00
kcore.c lockdown: Print current->comm in restriction messages 2019-08-19 21:54:17 -07:00
kmsg.c
loadavg.c
Makefile Revert "ANDROID: proc: Add /proc/uid directory" 2020-03-06 20:23:08 +00:00
meminfo.c soc: qcom: Enable meminfo support in minidump 2020-09-07 09:23:42 -07:00
namespaces.c
nommu.c
page.c fs/proc/page.c: don't access uninitialized memmaps in fs/proc/page.c 2019-10-19 06:32:31 -04:00
proc_net.c
proc_sysctl.c proc/sysctl: add shared variables for range check 2019-07-18 17:08:07 -07:00
proc_tty.c
root.c Revert "ANDROID: proc: Add /proc/uid directory" 2020-03-06 20:23:08 +00:00
self.c proc: Use new_inode not new_inode_pseudo 2020-06-17 16:40:33 +02:00
softirqs.c
stat.c
task_mmu.c mm: do not shrink pages marked for reclaim by MADV_FREE 2020-11-09 09:04:50 +05:30
task_nommu.c
thread_self.c proc: Use new_inode not new_inode_pseudo 2020-06-17 16:40:33 +02:00
uptime.c
util.c
version.c
vmcore.c vmalloc: fix remap_vmalloc_range() bounds checks 2020-04-29 16:33:14 +02:00