Re: [PATCH V3 1/1] livepatch: Add "stack_order" sysfs attribute

2024-10-06 Thread zhang warden
> On Oct 3, 2024, at 23:25, Josh Poimboeuf wrote: > > On Thu, Oct 03, 2024 at 10:59:11PM +0800, zhang warden wrote: >>> This attribute specifies the sequence in which live patch modules >>> are applied to the system. If multiple live patches modify the same >>> function, the implementation wit

Re: [PATCH V3 1/1] livepatch: Add "stack_order" sysfs attribute

2024-10-03 Thread Josh Poimboeuf
On Thu, Oct 03, 2024 at 10:59:11PM +0800, zhang warden wrote: > > This attribute specifies the sequence in which live patch modules > > are applied to the system. If multiple live patches modify the same > > function, the implementation with the highest stack order is used, > > unless a transition

Re: [PATCH V3 1/1] livepatch: Add "stack_order" sysfs attribute

2024-10-03 Thread zhang warden
Hi, Petr. > Also please rebase the patch on top of current Linus' master or > v6.11. There are conflicts with the commit adb68ed26a3e922 > ("livepatch: Add "replace" sysfs attribute"). > OK, will fix it. +Contact:live-patch...@vger.kernel.org +Description: + This attribut

Re: [PATCH V3 1/1] livepatch: Add "stack_order" sysfs attribute

2024-10-03 Thread Petr Mladek
On Thu 2024-10-03 14:26:19, zhang warden wrote: > > Hi, Josh! > > On Oct 1, 2024, at 07:26, Josh Poimboeuf wrote: > >> > >> diff --git a/Documentation/ABI/testing/sysfs-kernel-livepatch > >> b/Documentation/ABI/testing/sysfs-kernel-livepatch > >> index a5df9b4910dc..2a60b49aa9a5 100644 > >> ---

Re: [PATCH V3 1/1] livepatch: Add "stack_order" sysfs attribute

2024-10-02 Thread zhang warden
Hi, Josh! > On Oct 1, 2024, at 07:26, Josh Poimboeuf wrote: >> >> diff --git a/Documentation/ABI/testing/sysfs-kernel-livepatch >> b/Documentation/ABI/testing/sysfs-kernel-livepatch >> index a5df9b4910dc..2a60b49aa9a5 100644 >> --- a/Documentation/ABI/testing/sysfs-kernel-livepatch >> +++ b/Do

Re: [PATCH V3 1/1] livepatch: Add "stack_order" sysfs attribute

2024-09-30 Thread Josh Poimboeuf
On Sun, Sep 29, 2024 at 10:43:34PM +0800, 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