On Thu, Aug 8, 2024 at 9:58 AM Andrii Nakryiko
wrote:
>
> On Thu, Aug 8, 2024 at 3:20 AM Oleg Nesterov wrote:
> >
> > On 08/07, Andrii Nakryiko wrote:
> > >
> > > struct uprobe {
> > > - struct rb_node rb_node;/* node in the rb tree */
> > > + union {
> > > +
On Thu, Aug 8, 2024 at 3:20 AM Oleg Nesterov wrote:
>
> On 08/07, Andrii Nakryiko wrote:
> >
> > struct uprobe {
> > - struct rb_node rb_node;/* node in the rb tree */
> > + union {
> > + struct rb_node rb_node;/* node in the rb
> > tree */
>
On 08/07, Andrii Nakryiko wrote:
>
> struct uprobe {
> - struct rb_node rb_node;/* node in the rb tree */
> + union {
> + struct rb_node rb_node;/* node in the rb tree
> */
> + struct rcu_head rcu;/* mutually ex
To avoid unnecessarily taking a (brief) refcount on uprobe during
breakpoint handling in handle_swbp for entry uprobes, make find_uprobe()
not take refcount, but protect the lifetime of a uprobe instance with
RCU. This improves scalability, as refcount gets quite expensive due to
cache line bouncin
4 matches
Mail list logo