diff options
author | David Rientjes <[email protected]> | 2017-05-12 15:47:03 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-05-12 15:57:16 -0700 |
commit | 338a16ba154959b049458d4f507d60f694550b68 (patch) | |
tree | 1c70e3bc5d6a1692874e9f569d944aeac684522a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 876f29460cbd4086b43475890c1bf2488fa11d40 (diff) |
mm, thp: copying user pages must schedule on collapse
We have encountered need_resched warnings in __collapse_huge_page_copy()
while doing {clear,copy}_user_highpage() over HPAGE_PMD_NR source pages.
mm->mmap_sem is held for write, but the iteration is well bounded.
Reschedule as needed.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: David Rientjes <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions