[PATCH v2 1/2] kexec: history: track previous kernel version
Breno Leitao
leitao at debian.org
Fri Jan 2 07:14:05 PST 2026
Hello Usama,
On Fri, Jan 02, 2026 at 06:02:39PM +0300, Usama Arif wrote:
> On 02/01/2026 17:53, Breno Leitao wrote:
> I think we should make this default if KHO is enabled, i.e. not have a Kconfig
> option for this. The cost of storing the char array is negligable.
Sure, I can get it enabled by default once KHO gets enabled. Thanks for
the feedback.
> > + pr_info("This kernel was kexec'ed from kernel release: %s\n",
> > + kho_in.previous_release);
>
> Maybe s/release/version everywhere? It might not be a release, but no strong opinion.
As I understand, in the kernel parlance, "version" is something
different from "release", and what we want here is "release". Here is an
example of uname, which also matches with kernel source code and UTS.
# uname --kernel-version
#1 SMP Mon Nov 17 07:00:42 PST 2025
# uname --kernel-release
6.16.1-0_gc0739ee5037a
Thanks for the review,
--breno
More information about the kexec
mailing list