From: Peter Zijlstra Date: Fri, 10 Sep 2010 10:51:54 +0000 (+0200) Subject: perf: Ensure we call add_event_to_ctx() with the right locks held X-Git-Tag: v2.6.37-rc1~214^2~64 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cee010ec5211b96f33c5c2208f5c14ebb04b634a;p=pandora-kernel.git perf: Ensure we call add_event_to_ctx() with the right locks held Even though we call it from the inherit path, where the child is not yet accessible, we need to hold ctx->lock, add_event_to_ctx() assumes IRQs are disabled. Signed-off-by: Peter Zijlstra LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed