Public bug reported:

The following series has landed in mainline, and will be present in 6.6.
 "crash: Kernel handling of CPU and memory hot un/plug"
 https://lore.kernel.org/lkml/20230814214446.6659-1-eric.devol...@oracle.com/

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d68b4b6f307d155475cce541f2aee938032ed22e

To take advantage of the performance benefits of that series, 98-kexec.rules
needs an update to optimize the handling of CPU and memory hotplug changes.

These lines need to be added to the top of 98-kexec.rules:

   # The kernel updates the crash elfcorehdr for CPU and memory changes
   SUBSYSTEM=="cpu", ATTRS{crash_hotplug}=="1", GOTO="kdump_reload_end"
   SUBSYSTEM=="memory", ATTRS{crash_hotplug}=="1", GOTO="kdump_reload_end"

It is safe to deploy these rule updates now, ahead of distros/kernels
enabling the feature, since the crash_hotplug sysfs nodes would not be
present and thus the newly introduced rules in 98-kexec would act as a
nop-op and fall thru for legacy behavior. But when distros/kernels
enable the feature, then 98-kexec rules is ready and can properly take
advantage.

** Affects: kexec-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to kexec-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2034732

Title:
  The 98-kexec.rules file needs update for latest kernel 6.6 feature

Status in kexec-tools package in Ubuntu:
  New

Bug description:
  The following series has landed in mainline, and will be present in
  6.6.

   "crash: Kernel handling of CPU and memory hot un/plug"
   https://lore.kernel.org/lkml/20230814214446.6659-1-eric.devol...@oracle.com/

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d68b4b6f307d155475cce541f2aee938032ed22e

  To take advantage of the performance benefits of that series, 98-kexec.rules
  needs an update to optimize the handling of CPU and memory hotplug changes.

  These lines need to be added to the top of 98-kexec.rules:

     # The kernel updates the crash elfcorehdr for CPU and memory changes
     SUBSYSTEM=="cpu", ATTRS{crash_hotplug}=="1", GOTO="kdump_reload_end"
     SUBSYSTEM=="memory", ATTRS{crash_hotplug}=="1", GOTO="kdump_reload_end"

  It is safe to deploy these rule updates now, ahead of distros/kernels
  enabling the feature, since the crash_hotplug sysfs nodes would not be
  present and thus the newly introduced rules in 98-kexec would act as a
  nop-op and fall thru for legacy behavior. But when distros/kernels
  enable the feature, then 98-kexec rules is ready and can properly take
  advantage.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/2034732/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to