Activity log for bug #2034732

Date Who What changed Old value New value Message
2023-09-07 16:00:16 Eric DeVolder bug added bug
2023-09-07 16:13:24 Eric DeVolder summary The 98-kexec.rules file needs update for latest kernel 6.6 feature The 50-kdump-tools.rules file needs update for latest kernel 6.6 feature
2023-09-07 16:14:30 Eric DeVolder 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.devolder@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. 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.devolder@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, 50-kdump-tools.rules needs an update to optimize the handling of CPU and memory hotplug changes. 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 50-kdump-tools would act as a nop-op and fall thru for legacy behavior. But when distros/kernels enable the feature, then 50-kdump-tools rules is ready and can properly take advantage.