diff options
author | Andrea Arcangeli <[email protected]> | 2011-05-24 17:12:14 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-05-25 08:39:21 -0700 |
commit | 692e0b35427a088bf75d9363788c61c7edbe93a5 (patch) | |
tree | db1b4365b70fbe809753e6ac097b60fb4f7299a8 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 9547d01bfb9c351dc19067f8a4cea9d3955f4125 (diff) |
mm: thp: optimize memcg charge in khugepaged
We don't need to hold the mmmap_sem through mem_cgroup_newpage_charge(),
the mmap_sem is only hold for keeping the vma stable and we don't need the
vma stable anymore after we return from alloc_hugepage_vma().
Signed-off-by: Andrea Arcangeli <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions