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

From: Steven Rostedt
Date: Thu Jan 05 2012 - 10:34:23 EST


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) ?

for that, yeah I'm fine with it.

-- Steve


--
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/