Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-21 Thread Liao, Chang
在 2024/8/16 0:53, Andrii Nakryiko 写道: > On Wed, Aug 14, 2024 at 7:58 PM Liao, Chang wrote: >> >> >> >> 在 2024/8/15 2:42, Andrii Nakryiko 写道: >>> On Tue, Aug 13, 2024 at 9:17 PM Liao, Chang wrote: 在 2024/8/13 1:49, Andrii Nakryiko 写道: > On Mon, Aug 12, 2024 at 4:11 AM Li

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-15 Thread Andrii Nakryiko
On Thu, Aug 15, 2024 at 12:59 AM Liao, Chang wrote: > > > > 在 2024/8/15 0:57, Andrii Nakryiko 写道: > > On Tue, Aug 13, 2024 at 9:17 PM Liao, Chang wrote: > >> > >> > >> > >> 在 2024/8/13 1:49, Andrii Nakryiko 写道: > >>> On Mon, Aug 12, 2024 at 4:11 AM Liao, Chang wrote: > > > >

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-15 Thread Andrii Nakryiko
On Wed, Aug 14, 2024 at 7:58 PM Liao, Chang wrote: > > > > 在 2024/8/15 2:42, Andrii Nakryiko 写道: > > On Tue, Aug 13, 2024 at 9:17 PM Liao, Chang wrote: > >> > >> > >> > >> 在 2024/8/13 1:49, Andrii Nakryiko 写道: > >>> On Mon, Aug 12, 2024 at 4:11 AM Liao, Chang wrote: > > > > 在

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-15 Thread Liao, Chang
在 2024/8/15 0:57, Andrii Nakryiko 写道: > On Tue, Aug 13, 2024 at 9:17 PM Liao, Chang wrote: >> >> >> >> 在 2024/8/13 1:49, Andrii Nakryiko 写道: >>> On Mon, Aug 12, 2024 at 4:11 AM Liao, Chang wrote: 在 2024/8/9 2:26, Andrii Nakryiko 写道: > On Thu, Aug 8, 2024 at 1:45 AM Liao

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-14 Thread Liao, Chang
在 2024/8/15 2:42, Andrii Nakryiko 写道: > On Tue, Aug 13, 2024 at 9:17 PM Liao, Chang wrote: >> >> >> >> 在 2024/8/13 1:49, Andrii Nakryiko 写道: >>> On Mon, Aug 12, 2024 at 4:11 AM Liao, Chang wrote: 在 2024/8/9 2:26, Andrii Nakryiko 写道: > On Thu, Aug 8, 2024 at 1:45 AM Liao

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-14 Thread Andrii Nakryiko
On Tue, Aug 13, 2024 at 9:17 PM Liao, Chang wrote: > > > > 在 2024/8/13 1:49, Andrii Nakryiko 写道: > > On Mon, Aug 12, 2024 at 4:11 AM Liao, Chang wrote: > >> > >> > >> > >> 在 2024/8/9 2:26, Andrii Nakryiko 写道: > >>> On Thu, Aug 8, 2024 at 1:45 AM Liao, Chang wrote: > > Hi Andrii and Ole

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-14 Thread Andrii Nakryiko
On Tue, Aug 13, 2024 at 9:17 PM Liao, Chang wrote: > > > > 在 2024/8/13 1:49, Andrii Nakryiko 写道: > > On Mon, Aug 12, 2024 at 4:11 AM Liao, Chang wrote: > >> > >> > >> > >> 在 2024/8/9 2:26, Andrii Nakryiko 写道: > >>> On Thu, Aug 8, 2024 at 1:45 AM Liao, Chang wrote: > > Hi Andrii and Ole

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-13 Thread Liao, Chang
在 2024/8/13 1:57, Andrii Nakryiko 写道: > On Mon, Aug 12, 2024 at 5:05 AM Liao, Chang wrote: >> >> >> >> 在 2024/8/10 2:40, Andrii Nakryiko 写道: >>> On Fri, Aug 9, 2024 at 11:34 AM Andrii Nakryiko >>> wrote: On Fri, Aug 9, 2024 at 12:16 AM Liao, Chang wrote: > > > > 在 20

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-13 Thread Liao, Chang
在 2024/8/13 1:49, Andrii Nakryiko 写道: > On Mon, Aug 12, 2024 at 4:11 AM Liao, Chang wrote: >> >> >> >> 在 2024/8/9 2:26, Andrii Nakryiko 写道: >>> On Thu, Aug 8, 2024 at 1:45 AM Liao, Chang wrote: Hi Andrii and Oleg. This patch sent by me two weeks ago also aim to optimize the

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-12 Thread Andrii Nakryiko
On Mon, Aug 12, 2024 at 5:05 AM Liao, Chang wrote: > > > > 在 2024/8/10 2:40, Andrii Nakryiko 写道: > > On Fri, Aug 9, 2024 at 11:34 AM Andrii Nakryiko > > wrote: > >> > >> On Fri, Aug 9, 2024 at 12:16 AM Liao, Chang wrote: > >>> > >>> > >>> > >>> 在 2024/8/9 2:26, Andrii Nakryiko 写道: > On Thu,

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-12 Thread Andrii Nakryiko
On Mon, Aug 12, 2024 at 4:11 AM Liao, Chang wrote: > > > > 在 2024/8/9 2:26, Andrii Nakryiko 写道: > > On Thu, Aug 8, 2024 at 1:45 AM Liao, Chang wrote: > >> > >> Hi Andrii and Oleg. > >> > >> This patch sent by me two weeks ago also aim to optimize the performance > >> of uprobe > >> on arm64. I n

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-12 Thread Liao, Chang
在 2024/8/10 2:40, Andrii Nakryiko 写道: > On Fri, Aug 9, 2024 at 11:34 AM Andrii Nakryiko > wrote: >> >> On Fri, Aug 9, 2024 at 12:16 AM Liao, Chang wrote: >>> >>> >>> >>> 在 2024/8/9 2:26, Andrii Nakryiko 写道: On Thu, Aug 8, 2024 at 1:45 AM Liao, Chang wrote: > > Hi Andrii and Oleg.

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-12 Thread Liao, Chang
在 2024/8/9 2:26, Andrii Nakryiko 写道: > On Thu, Aug 8, 2024 at 1:45 AM Liao, Chang wrote: >> >> Hi Andrii and Oleg. >> >> This patch sent by me two weeks ago also aim to optimize the performance of >> uprobe >> on arm64. I notice recent discussions on the performance and scalability of >> upro

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-09 Thread Andrii Nakryiko
On Fri, Aug 9, 2024 at 11:34 AM Andrii Nakryiko wrote: > > On Fri, Aug 9, 2024 at 12:16 AM Liao, Chang wrote: > > > > > > > > 在 2024/8/9 2:26, Andrii Nakryiko 写道: > > > On Thu, Aug 8, 2024 at 1:45 AM Liao, Chang wrote: > > >> > > >> Hi Andrii and Oleg. > > >> > > >> This patch sent by me two wee

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-09 Thread Andrii Nakryiko
On Fri, Aug 9, 2024 at 12:16 AM Liao, Chang wrote: > > > > 在 2024/8/9 2:26, Andrii Nakryiko 写道: > > On Thu, Aug 8, 2024 at 1:45 AM Liao, Chang wrote: > >> > >> Hi Andrii and Oleg. > >> > >> This patch sent by me two weeks ago also aim to optimize the performance > >> of uprobe > >> on arm64. I n

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-09 Thread Liao, Chang
在 2024/8/9 2:26, Andrii Nakryiko 写道: > On Thu, Aug 8, 2024 at 1:45 AM Liao, Chang wrote: >> >> Hi Andrii and Oleg. >> >> This patch sent by me two weeks ago also aim to optimize the performance of >> uprobe >> on arm64. I notice recent discussions on the performance and scalability of >> upro

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-08 Thread Liao, Chang
在 2024/8/9 2:49, Oleg Nesterov 写道: > Hi Liao, > > To be honest I didn't even try to look at your patch, sorry. > > Because I think it would be better to delay it in an case. Until Andrii > finishes/pushes his optimization changes which (in particular) include > find_active_uprobe_rcu/etc. > >

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-08 Thread Oleg Nesterov
Hi Liao, To be honest I didn't even try to look at your patch, sorry. Because I think it would be better to delay it in an case. Until Andrii finishes/pushes his optimization changes which (in particular) include find_active_uprobe_rcu/etc. Then you can rebease and re-benchmark your patch on top

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-08 Thread Andrii Nakryiko
On Thu, Aug 8, 2024 at 1:45 AM Liao, Chang wrote: > > Hi Andrii and Oleg. > > This patch sent by me two weeks ago also aim to optimize the performance of > uprobe > on arm64. I notice recent discussions on the performance and scalability of > uprobes > within the mailing list. Considering this i

Re: [PATCH] uprobes: Optimize the allocation of insn_slot for performance

2024-08-08 Thread Liao, Chang
Hi Andrii and Oleg. This patch sent by me two weeks ago also aim to optimize the performance of uprobe on arm64. I notice recent discussions on the performance and scalability of uprobes within the mailing list. Considering this interest, I've added you and other relevant maintainers to the CC