aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorXiao Guangrong <[email protected]>2009-12-09 11:29:44 +0800
committerIngo Molnar <[email protected]>2009-12-09 09:56:27 +0100
commitb93f7978ad6b46133e9453b90ccc057dc2429e75 (patch)
treef3420ebd5fa80ddb1a4c3e302a64861146104385 /lib/cpu-notifier-error-inject.c
parentaa5452d70c0d559310598b243b8b1033c10056e7 (diff)
perf_event: Allocate children's perf_event_ctxp at the right time
In current code, children task will allocate memory for 'child->perf_event_ctxp' if the parent is counted, we can do it only if the parent allowed children inherit it. It can save memory and reduce overhead. Signed-off-by: Xiao Guangrong <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Paul Mackerras <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions