Re: [systemd-devel] [PATCHv5 06/12] kexec: Integrate with the introduced bpf kfuncs

2025-09-18 Thread Pingfan Liu
On Thu, Sep 18, 2025 at 9:43 PM Philipp Rudo wrote: > > Hi Pingfan, > > On Tue, 16 Sep 2025 14:52:38 +0800 > Pingfan Liu wrote: > > > On Mon, Sep 01, 2025 at 04:30:42PM +0200, Philipp Rudo wrote: > > > Hi Pingfan, > > > > > > > > > On Tue, 19 Aug 2025 09:24:22 +0800 > > > Pingfan Liu wrote: > >

Re: [systemd-devel] [PATCHv5 06/12] kexec: Integrate with the introduced bpf kfuncs

2025-09-18 Thread Philipp Rudo
Hi Pingfan, On Tue, 16 Sep 2025 14:52:38 +0800 Pingfan Liu wrote: > On Mon, Sep 01, 2025 at 04:30:42PM +0200, Philipp Rudo wrote: > > Hi Pingfan, > > > > > > On Tue, 19 Aug 2025 09:24:22 +0800 > > Pingfan Liu wrote: > > > > > This patch does two things: > > > First, register as a listener

Re: [systemd-devel] [PATCHv5 06/12] kexec: Integrate with the introduced bpf kfuncs

2025-09-15 Thread Pingfan Liu
On Mon, Sep 01, 2025 at 04:30:42PM +0200, Philipp Rudo wrote: > Hi Pingfan, > > > On Tue, 19 Aug 2025 09:24:22 +0800 > Pingfan Liu wrote: > > > This patch does two things: > > First, register as a listener on bpf_copy_to_kernel() > > Second, in order that the hooked bpf-prog can call the sleepa

Re: [systemd-devel] [PATCHv5 06/12] kexec: Integrate with the introduced bpf kfuncs

2025-09-03 Thread Philipp Rudo
Hi Pingfan, On Tue, 19 Aug 2025 09:24:22 +0800 Pingfan Liu wrote: > This patch does two things: > First, register as a listener on bpf_copy_to_kernel() > Second, in order that the hooked bpf-prog can call the sleepable kfuncs, > bpf_handle_pefile and bpf_post_handle_pefile are marked as > KF_SL

[systemd-devel] [PATCHv5 06/12] kexec: Integrate with the introduced bpf kfuncs

2025-08-18 Thread Pingfan Liu
This patch does two things: First, register as a listener on bpf_copy_to_kernel() Second, in order that the hooked bpf-prog can call the sleepable kfuncs, bpf_handle_pefile and bpf_post_handle_pefile are marked as KF_SLEEPABLE. Signed-off-by: Pingfan Liu Cc: Alexei Starovoitov Cc: Philipp Rudo