From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org, glider@google.com,
andreyknvl@google.com, akpm@linux-foundation.org
Subject: [merged mm-stable] lib-stackdepot-rename-init_stack_pool.patch removed from -mm tree
Date: Thu, 16 Feb 2023 20:44:30 -0800 [thread overview]
Message-ID: <20230217044430.AFACBC433EF@smtp.kernel.org> (raw)
The quilt patch titled
Subject: lib/stackdepot: rename init_stack_pool
has been removed from the -mm tree. Its filename was
lib-stackdepot-rename-init_stack_pool.patch
This patch was dropped because it was merged into the mm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Andrey Konovalov <andreyknvl@google.com>
Subject: lib/stackdepot: rename init_stack_pool
Date: Fri, 10 Feb 2023 22:15:59 +0100
Rename init_stack_pool to depot_init_pool to align the name with
depot_alloc_stack.
No functional changes.
Link: https://lkml.kernel.org/r/23106a3e291d8df0aba33c0e2fe86dc596286479.1676063693.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
--- a/lib/stackdepot.c~lib-stackdepot-rename-init_stack_pool
+++ a/lib/stackdepot.c
@@ -218,7 +218,7 @@ out_unlock:
}
EXPORT_SYMBOL_GPL(stack_depot_init);
-static bool init_stack_pool(void **prealloc)
+static bool depot_init_pool(void **prealloc)
{
if (!*prealloc)
return false;
@@ -265,12 +265,12 @@ depot_alloc_stack(unsigned long *entries
/*
* smp_store_release() here pairs with smp_load_acquire() from
* |next_pool_inited| in stack_depot_save() and
- * init_stack_pool().
+ * depot_init_pool().
*/
if (pool_index + 1 < DEPOT_MAX_POOLS)
smp_store_release(&next_pool_inited, 0);
}
- init_stack_pool(prealloc);
+ depot_init_pool(prealloc);
if (stack_pools[pool_index] == NULL)
return NULL;
@@ -399,7 +399,7 @@ depot_stack_handle_t __stack_depot_save(
* lock.
*
* The smp_load_acquire() here pairs with smp_store_release() to
- * |next_pool_inited| in depot_alloc_stack() and init_stack_pool().
+ * |next_pool_inited| in depot_alloc_stack() and depot_init_pool().
*/
if (unlikely(can_alloc && !smp_load_acquire(&next_pool_inited))) {
/*
@@ -435,7 +435,7 @@ depot_stack_handle_t __stack_depot_save(
* We didn't need to store this stack trace, but let's keep
* the preallocated memory for the future.
*/
- WARN_ON(!init_stack_pool(&prealloc));
+ WARN_ON(!depot_init_pool(&prealloc));
}
raw_spin_unlock_irqrestore(&pool_lock, flags);
_
Patches currently in -mm which might be from andreyknvl@google.com are
reply other threads:[~2023-02-17 4:44 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=20230217044430.AFACBC433EF@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=andreyknvl@google.com \
--cc=glider@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
/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 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.