From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,kees@kernel.org,tiozhang@didiglobal.com,akpm@linux-foundation.org
Subject: [merged mm-nonmm-stable] fork-remove-ifdef-config_lockdep-in-copy_process.patch removed from -mm tree
Date: Sat, 13 Sep 2025 17:35:23 -0700 [thread overview]
Message-ID: <20250914003524.6CA47C4CEEB@smtp.kernel.org> (raw)
The quilt patch titled
Subject: fork: remove #ifdef CONFIG_LOCKDEP in copy_process()
has been removed from the -mm tree. Its filename was
fork-remove-ifdef-config_lockdep-in-copy_process.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Tio Zhang <tiozhang@didiglobal.com>
Subject: fork: remove #ifdef CONFIG_LOCKDEP in copy_process()
Date: Wed, 20 Aug 2025 18:18:46 +0800
lockdep_init_task() is defined as an empty when CONFIG_LOCKDEP is not set.
So the #ifdef here is redundant, remove it.
Link: https://lkml.kernel.org/r/20250820101826.GA2484@didi-ThinkCentre-M930t-N000
Signed-off-by: Tio Zhang <tiozhang@didiglobal.com>
Cc: Kees Cook <kees@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/fork.c | 2 --
1 file changed, 2 deletions(-)
--- a/kernel/fork.c~fork-remove-ifdef-config_lockdep-in-copy_process
+++ a/kernel/fork.c
@@ -2124,9 +2124,7 @@ __latent_entropy struct task_struct *cop
p->pagefault_disabled = 0;
-#ifdef CONFIG_LOCKDEP
lockdep_init_task(p);
-#endif
p->blocked_on = NULL; /* not blocked yet */
_
Patches currently in -mm which might be from tiozhang@didiglobal.com are
reply other threads:[~2025-09-14 0:35 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=20250914003524.6CA47C4CEEB@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=kees@kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=tiozhang@didiglobal.com \
/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.