aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorzhangkui <[email protected]>2021-09-02 15:01:11 -0700
committerLinus Torvalds <[email protected]>2021-09-03 09:58:18 -0700
commitd5fffc5aff269717a035baa087630adca612a6c4 (patch)
treeb81923d12a8e57ef14e32cccae59d0c5f20c18fb /tools/perf/scripts/python/bin/export-to-postgresql-report
parent33090af97350cee9ea0e347301cef704bd5b0d8e (diff)
mm/madvise: add MADV_WILLNEED to process_madvise()
There is a usecase in Android that an app process's memory is swapped out by process_madvise() with MADV_PAGEOUT, such as the memory is swapped to zram or a backing device. When the process is scheduled to running, like switch to foreground, multiple page faults may cause the app dropped frames. To reduce the problem, System Management Software can read-ahead memory of the process immediately when the app switches to forground. Calling process_madvise() with MADV_WILLNEED can meet this need. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: zhangkui <[email protected]> Cc: David Hildenbrand <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions