diff options
| author | Andrea Arcangeli <[email protected]> | 2011-01-13 15:46:41 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-01-13 17:32:40 -0800 |
| commit | db3eb96f4e6281b84dd33c8980dacc27f2efe177 (patch) | |
| tree | 0746ed213778d8cb9ec18c1c7c16490c233d178b /tools/perf/scripts/python | |
| parent | e2cda322648122dc400c85ada80eaddbc612ef6a (diff) | |
thp: add pmd mangling functions to x86
Add needed pmd mangling functions with symmetry with their pte
counterparts. pmdp_splitting_flush() is the only new addition on the pmd_
methods and it's needed to serialize the VM against split_huge_page. It
simply atomically sets the splitting bit in a similar way
pmdp_clear_flush_young atomically clears the accessed bit.
pmdp_splitting_flush() also has to flush the tlb to make it effective
against gup_fast, but it wouldn't really require to flush the tlb too.
Just the tlb flush is the simplest operation we can invoke to serialize
pmdp_splitting_flush() against gup_fast.
Signed-off-by: Andrea Arcangeli <[email protected]>
Acked-by: Rik van Riel <[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