Re: [PATCH 4/5] perf/hw_breakpoint: Set breakpoint as disabled in modify_user_hw_breakpoint error path

From: Arnaldo Carvalho de Melo
Date: Tue Aug 28 2018 - 10:29:20 EST


Em Thu, Aug 09, 2018 at 06:30:15PM +0200, Jiri Olsa escreveu:
> On Thu, Aug 09, 2018 at 04:17:13PM +0200, Oleg Nesterov wrote:
> > On 08/09, Jiri Olsa wrote:
> > > - if (err)
> > > + if (err) {
> > > + bp->attr.disabled = 1;
> > > return err;
> >
> > Yes, but on the second thought... Can't we simply do

<SNIP>

> > instead of this and the next patch?

<SNIP>

> yep, seems good.. will send new version

Ok, but this is just for 4/5 and 5/5, right?

- Arnaldo