diff options
| author | Yanfei Xu <[email protected]> | 2021-05-04 18:34:12 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-05-05 11:27:21 -0700 |
| commit | 89dc6a9682919dbd64213c630a71eedaa021d7e5 (patch) | |
| tree | 263a679299230b85d8ef4d54c09661da7af81a81 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | a44f89dc6c5f8ba70240b81a570260d29d04bcb0 (diff) | |
mm/khugepaged.c: replace barrier() with READ_ONCE() for a selective variable
READ_ONCE() is more selective and lightweight. It is more appropriate
that using a READ_ONCE() for the certain variable to prevent the
compiler from reordering.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yanfei Xu <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Cc: Mike Kravetz <[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