[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZxoCCasDtqeXdSNP@pathway.suse.cz>
Date: Thu, 24 Oct 2024 10:15:05 +0200
From: Petr Mladek <pmladek@...e.com>
To: Wardenjohn <zhangwarden@...il.com>
Cc: jpoimboe@...nel.org, mbenes@...e.cz, jikos@...nel.org,
joe.lawrence@...hat.com, live-patching@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH V5 1/1] livepatch: Add stack_order sysfs attribute
On Thu 2024-10-24 12:43:16, Wardenjohn wrote:
> Add "stack_order" sysfs attribute which holds the order in which a live
> patch module was loaded into the system. A user can then determine an
> active live patched version of a function.
>
> cat /sys/kernel/livepatch/livepatch_1/stack_order -> 1
>
> means that livepatch_1 is the first live patch applied
>
> cat /sys/kernel/livepatch/livepatch_module/stack_order -> N
>
> means that livepatch_module is the Nth live patch applied
>
> Suggested-by: Petr Mladek <pmladek@...e.com>
> Suggested-by: Miroslav Benes <mbenes@...e.cz>
> Suggested-by: Josh Poimboeuf <jpoimboe@...nel.org>
> Signed-off-by: Wardenjohn <zhangwarden@...il.com>
This patch is the same as the one at
https://lore.kernel.org/r/20241008014856.3729-2-zhangwarden@gmail.com
So that we could add the already existing approvals:
Acked-by: Josh Poimboeuf <jpoimboe@...nel.org>
Reviewed-by: Petr Mladek <pmladek@...e.com>
Tested-by: Petr Mladek <pmladek@...e.com>
Reviewed-by: Miroslav Benes <mbenes@...e.cz>
Best Regards,
Petr
Powered by blists - more mailing lists