]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm-swapfile-fix-possible-data-races-of-inuse_pages-v3
authorMiaohe Lin <linmiaohe@huawei.com>
Sat, 25 Jun 2022 09:33:45 +0000 (17:33 +0800)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 20 Jul 2022 00:15:05 +0000 (20:15 -0400)
commit323994d05723e5746b47fcd5ccd6da6afd51ae5d
treec92a83670cf07f8e0fa1cdacb5785fbb46da1fea
parente45cb5c17c80969dfa5a975d7eb2dd82c5d040b5
mm-swapfile-fix-possible-data-races-of-inuse_pages-v3

use WRITE_ONCE to pair with READ_ONCE

Link: https://lkml.kernel.org/r/20220625093346.48894-2-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/swapfile.c