diff options
author | Li Zefan <[email protected]> | 2009-01-07 18:08:41 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-01-08 08:31:11 -0800 |
commit | 5a7625df725a486ad600b0036b6111dbd6321c41 (patch) | |
tree | a1b9c81371a6dffbed4a313ec25df33134925af2 /tools/perf/scripts/python/syscall-counts.py | |
parent | f5813d94279a18ff5936d675e24b44b44a571197 (diff) |
cpuset: remove on stack cpumask_t in cpuset_sprintf_cpulist()
This patchset converts cpuset to use new cpumask API, and thus
remove on stack cpumask_t to reduce stack usage.
Before:
# cat kernel/cpuset.c include/linux/cpuset.h | grep -c cpumask_t
21
After:
# cat kernel/cpuset.c include/linux/cpuset.h | grep -c cpumask_t
0
This patch:
Impact: reduce stack usage
It's safe to call cpulist_scnprintf inside callback_mutex, and thus we can
just remove the cpumask_t and no need to allocate a cpumask_var_t.
Signed-off-by: Li Zefan <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Rusty Russell <[email protected]>
Acked-by: Mike Travis <[email protected]>
Cc: Paul Menage <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions