Skip to contentSkip to conversation

kexec_core-drop-redundant-pm_restore_gfp_mask-call.patch removed from -mm tree

merged Andrew Morton 1 participant 1 message Jul 12, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore 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" <[email protected]>
Subject: kexec_core: Drop redundant pm_restore_gfp_mask() call
Date: Thu, 10 Jul 2025 15:12:20 +0200

From: Rafael J. Wysocki <[email protected]>

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.

---

 kernel/kexec_core.c |    1 -
 1 file changed, 1 deletion(-)
kernel/kexec_core.c renamed from kernel/kexec_core.c~kexec_core-drop-redundant-pm_restore_gfp_mask-call +0 -1
@@ -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 [email protected] are