diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-09-10 12:51:54 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-09-10 16:24:33 +0200 |
commit | cee010ec5211b96f33c5c2208f5c14ebb04b634a (patch) | |
tree | dae35fd772d7e18db94b320a0ffc97e55e719d0e /lib/genalloc.c | |
parent | 3b8fad3e2f5f69bfd8e42d099ca8582fb2342edf (diff) |
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 <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions