From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,rafael.j.wysocki@intel.com,mario.limonciello@amd.com,dyoung@redhat.com,dwmw2@infradead.org,bhe@redhat.com,rafael@kernel.org,akpm@linux-foundation.org
Subject: [merged] kexec_core-drop-redundant-pm_restore_gfp_mask-call.patch removed from -mm tree
Date: Sat, 12 Jul 2025 14:43:02 -0700 [thread overview]
Message-ID: <20250712214302.EADCFC4CEEF@smtp.kernel.org> (raw)
The quilt patch titled
Subject: kexec_core: drop redundant pm_restore_gfp_mask() call
has been removed from the -mm tree. Its filename was
kexec_core-drop-redundant-pm_restore_gfp_mask-call.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: "Rafael J. Wysocki" <rafael@kernel.org>
Subject: kexec_core: Drop redundant pm_restore_gfp_mask() call
Date: Thu, 10 Jul 2025 15:12:20 +0200
From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Drop the direct pm_restore_gfp_mask() call from the KEXEC_JUMP flow in
kernel_kexec() because it is redundant. Namely, dpm_resume_end()
called beforehand in the same code path invokes that function and
it is sufficient to invoke it once.
Link: https://lkml.kernel.org/r/1949230.tdWV9SEqCh@rjwysocki.net
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/kexec_core.c | 1 -
1 file changed, 1 deletion(-)
--- a/kernel/kexec_core.c~kexec_core-drop-redundant-pm_restore_gfp_mask-call
+++ a/kernel/kexec_core.c
@@ -1135,7 +1135,6 @@ int kernel_kexec(void)
dpm_resume_start(PMSG_RESTORE);
Resume_devices:
dpm_resume_end(PMSG_RESTORE);
- pm_restore_gfp_mask();
console_resume_all();
thaw_processes();
Restore_console:
_
Patches currently in -mm which might be from rafael@kernel.org are
reply other threads:[~2025-07-12 21:43 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=20250712214302.EADCFC4CEEF@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=bhe@redhat.com \
--cc=dwmw2@infradead.org \
--cc=dyoung@redhat.com \
--cc=mario.limonciello@amd.com \
--cc=mm-commits@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=rafael@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.