From: akpm@linux-foundation.org
To: david@redhat.com, mhocko@suse.com, mm-commits@vger.kernel.org,
osalvador@suse.de, vbabka@suse.cz
Subject: [folded-merged] mm-page_alloc-disable-pcplists-during-memory-offline-fix.patch removed from -mm tree
Date: Mon, 14 Dec 2020 18:17:48 -0800 [thread overview]
Message-ID: <20201215021748.F4eXx8Iki%akpm@linux-foundation.org> (raw)
The patch titled
Subject: mm-page_alloc-disable-pcplists-during-memory-offline-fix
has been removed from the -mm tree. Its filename was
mm-page_alloc-disable-pcplists-during-memory-offline-fix.patch
This patch was dropped because it was folded into mm-page_alloc-disable-pcplists-during-memory-offline.patch
------------------------------------------------------
From: Vlastimil Babka <vbabka@suse.cz>
Subject: mm-page_alloc-disable-pcplists-during-memory-offline-fix
add comment, per David
Link: https://lkml.kernel.org/r/527480ef-ed72-e1c1-52a0-1c5b0113df45@suse.cz
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Cc: David Hildenbrand <david@redhat.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/page_alloc.c | 10 ++++++++++
1 file changed, 10 insertions(+)
--- a/mm/page_alloc.c~mm-page_alloc-disable-pcplists-during-memory-offline-fix
+++ a/mm/page_alloc.c
@@ -3025,6 +3025,16 @@ static void drain_local_pages_wq(struct
preempt_enable();
}
+/*
+ * The implementation of drain_all_pages(), exposing an extra parameter to
+ * drain on all cpus.
+ *
+ * drain_all_pages() is optimized to only execute on cpus where pcplists are
+ * not empty. The check for non-emptiness can however race with a free to
+ * pcplist that has not yet increased the pcp->count from 0 to 1. Callers
+ * that need the guarantee that every CPU has drained can disable the
+ * optimizing racy check.
+ */
void __drain_all_pages(struct zone *zone, bool force_all_cpus)
{
int cpu;
_
Patches currently in -mm which might be from vbabka@suse.cz are
mm-slab-slub-clear-the-slab_cache-field-when-freeing-page.patch
mm-slub-use-kmem_cache_debug_flags-in-deactivate_slab.patch
mm-page_alloc-clean-up-pageset-high-and-batch-update.patch
mm-page_alloc-calculate-pageset-high-and-batch-once-per-zone.patch
mm-page_alloc-remove-setup_pageset.patch
mm-page_alloc-simplify-pageset_update.patch
mm-page_alloc-cache-pageset-high-and-batch-in-struct-zone.patch
mm-page_alloc-move-draining-pcplists-to-page-isolation-users.patch
mm-page_alloc-disable-pcplists-during-memory-offline.patch
mm-page_alloc-do-not-rely-on-the-order-of-page_poison-and-init_on_alloc-free-parameters.patch
mm-page_poison-use-static-key-more-efficiently.patch
kernel-power-allow-hibernation-with-page_poison-sanity-checking.patch
mm-page_poison-remove-config_page_poisoning_no_sanity.patch
mm-page_poison-remove-config_page_poisoning_zero.patch
reply other threads:[~2020-12-15 2:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201215021748.F4eXx8Iki%akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=david@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mhocko@suse.com \
--cc=mm-commits@vger.kernel.org \
--cc=osalvador@suse.de \
--cc=vbabka@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox