diff options
| author | Miaohe Lin <[email protected]> | 2021-05-04 18:33:40 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-05-05 11:27:20 -0700 |
| commit | 588d01f918d42d2d453d8cd5af6bf2c2e1072a47 (patch) | |
| tree | 63077971b0e6a5166c1ea3b76f1c477d31298014 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 0edf61e5ee5c334f33bb7bf95d1b470f01ae9fec (diff) | |
khugepaged: reuse the smp_wmb() inside __SetPageUptodate()
smp_wmb() is needed to avoid the copy_huge_page writes to become visible
after the set_pmd_at() write here. But we can reuse the smp_wmb() inside
__SetPageUptodate() to remove this redundant one.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Ebru Akagunduz <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions