diff options
| author | Xiao Guangrong <[email protected]> | 2012-10-08 16:29:48 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-10-09 16:22:26 +0900 |
| commit | d516904bd239fe2c9f1bd46cf146bb4b8831321c (patch) | |
| tree | de3ec1af9c309dba0faf2e662ba49f651a566e82 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 9817626e722a5e5699cf38f5d3a4c9851e054436 (diff) | |
thp: merge page pre-alloc in khugepaged_loop into khugepaged_do_scan
There are two pre-alloc operations in these two function, the different is:
- it allows to sleep if page alloc fail in khugepaged_loop
- it exits immediately if page alloc fail in khugepaged_do_scan
Actually, in khugepaged_do_scan, we can allow the pre-alloc to sleep on
the first failure, then the operation in khugepaged_loop can be removed
Signed-off-by: Xiao Guangrong <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions