Re: [PATCH] jump label: close race in jump_label_inc() vs.jump_label_dec()

From: Jason Baron
Date: Thu Jan 05 2012 - 10:39:06 EST


On Thu, Jan 05, 2012 at 10:34:24AM -0500, Steven Rostedt wrote:
> On Thu, 2012-01-05 at 10:30 -0500, Jason Baron wrote:
>
> > That said, until we have a use-case that would excercise this race,
> > I'm ok with having it be a higher level bug as Gleb pointed out. So how about a
> > WARN() for this case. I'll send as a separate patch, if people are ok
> > with it.
>
> You mean a WARN_ON(key->enabled < 0) ?
>

yes.

> for that, yeah I'm fine with it.
>
> -- Steve

Ok, I'll post a patch for that.

Thanks,

-Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/