Re: [PATCH 2/3] perf_events: fix validation of events using anextra reg (v2)

From: Peter Zijlstra
Date: Fri May 20 2011 - 11:05:43 EST


On Fri, 2011-05-20 at 16:37 +0200, Stephane Eranian wrote:
> The is_fake field is necessary to avoid a lockdep issue having
> to do with interrupt masking and era->lock.

Why not simply disable IRQs in both validate_* functions?
--
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/