summaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorKonstantin Khlebnikov2018-04-06 01:23:24 +0200
committerLinus Torvalds2018-04-06 06:36:25 +0200
commit03f5d58fa42fb337b921e57f8e2c2d4df7df890d (patch)
tree57b248af904e4492b071446ae4b27f19df05c3d5 /mm/huge_memory.c
parentmm: fix races between address_space dereference and free in page_evicatable (diff)
downloadkernel-qcow2-linux-03f5d58fa42fb337b921e57f8e2c2d4df7df890d.tar.gz
kernel-qcow2-linux-03f5d58fa42fb337b921e57f8e2c2d4df7df890d.tar.xz
kernel-qcow2-linux-03f5d58fa42fb337b921e57f8e2c2d4df7df890d.zip
mm/page_ref: use atomic_set_release in page_ref_unfreeze
page_ref_unfreeze() has exactly that semantic. No functional changes: just minus one barrier and proper handling of PPro errata. Link: http://lkml.kernel.org/r/151844393004.210639.4672319312617954272.stgit@buzz Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions