aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorHuang Ying <[email protected]>2011-09-08 14:00:45 +0800
committerIngo Molnar <[email protected]>2011-10-04 12:43:44 +0200
commit781f7fd916fc77a862e20063ed3aeedf173234f9 (patch)
tree86d6e89060c765cbab65b7c3e77884d3e7c17e70 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parenta3127336b71f6833d1483c856dce91fe558dc3a9 (diff)
llist: Return whether list is empty before adding in llist_add()
Extend the llist_add*() functions to return a success indicator, this allows us in the scheduler code to send an IPI if the queue was empty. ( There's no effect on existing users, because the list_add_xxx() functions are inline, thus this will be optimized out by the compiler if not used by callers. ) Signed-off-by: Huang Ying <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions