aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2018-01-31 16:18:13 -0800
committerLinus Torvalds <[email protected]>2018-01-31 17:18:38 -0800
commit86fa949b050184ffc53688516a6a83ae5f98d08a (patch)
tree58d1c3e2704aa32706c528afd6030a70de60ae15 /tools/perf/scripts/python
parenta8e654f01cb725d0bfd741ebca1bf4c9337969cc (diff)
x86/mm: provide pmdp_establish() helper
We need an atomic way to setup pmd page table entry, avoiding races with CPU setting dirty/accessed bits. This is required to implement pmdp_invalidate() that doesn't lose these bits. On PAE we can avoid expensive cmpxchg8b for cases when new page table entry is not present. If it's present, fallback to cpmxchg loop. [[email protected]: add missing `do' to do-while loop] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Kirill A. Shutemov <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions