* [folded-merged] mm-swap-avoid-calling-swp_swap_info-when-try-to-check-swp_stable_writes-fix.patch removed from -mm tree
@ 2022-05-19 20:57 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-05-19 20:57 UTC (permalink / raw)
To: mm-commits, willy, vbabka, surenb, peterx, osalvador, neilb,
naoya.horiguchi, linmiaohe, dhowells, david, apopple, akpm, akpm
The quilt patch titled
Subject: mm-swap-avoid-calling-swp_swap_info-when-try-to-check-swp_stable_writes-fix
has been removed from the -mm tree. Its filename was
mm-swap-avoid-calling-swp_swap_info-when-try-to-check-swp_stable_writes-fix.patch
This patch was dropped because it was folded into mm-swap-avoid-calling-swp_swap_info-when-try-to-check-swp_stable_writes.patch
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-swap-avoid-calling-swp_swap_info-when-try-to-check-swp_stable_writes-fix
Date: Tue May 17 04:31:16 PM PDT 2022
use data_race() on si->flags, per Neil
Cc: Alistair Popple <apopple@nvidia.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: NeilBrown <neilb@suse.de>
Cc: Peter Xu <peterx@redhat.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/memory.c~mm-swap-avoid-calling-swp_swap_info-when-try-to-check-swp_stable_writes-fix
+++ a/mm/memory.c
@@ -3889,7 +3889,7 @@ vm_fault_t do_swap_page(struct vm_fault
*/
exclusive = true;
} else if (exclusive && PageWriteback(page) &&
- (si->flags & SWP_STABLE_WRITES)) {
+ data_race(si->flags & SWP_STABLE_WRITES)) {
/*
* This is tricky: not all swap backends support
* concurrent page modifications while under writeback.
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
mm-swap-avoid-calling-swp_swap_info-when-try-to-check-swp_stable_writes.patch
mm-swap-add-helper-swap_offset_available-fix.patch
mm-swap-fix-the-comment-of-get_kernel_pages-fix.patch
tmpfs-fix-undefined-behaviour-in-shmem_reconfigure-fix.patch
mm-page_alloc-remotely-drain-per-cpu-lists-checkpatch-fixes.patch
kexec_file-drop-weak-attribute-from-arch_kexec_apply_relocations-fix.patch
linux-next-rejects.patch
linux-next-git-rejects.patch
mm-oom_killc-fix-vm_oom_kill_table-ifdeffery.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-19 20:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19 20:57 [folded-merged] mm-swap-avoid-calling-swp_swap_info-when-try-to-check-swp_stable_writes-fix.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.