Re: [PATCH RFC] perf: fix find_swevent_head() RCU lockdep splat

From: Peter Zijlstra
Date: Fri May 14 2010 - 03:47:30 EST


On Thu, 2010-05-13 at 22:48 +0200, Frederic Weisbecker wrote:
> + head = find_swevent_head(cpuctx, event->attr.type,
> + event->attr.config, event);

might as well only pass event and have the function do those derefs.
--
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/