diff options
author | Li Zefan <[email protected]> | 2009-01-07 18:08:43 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-01-08 08:31:11 -0800 |
commit | 645fcc9d2f6946f97a41c8d00edee38f8a6f0060 (patch) | |
tree | 1d7ad63c9e1bace8f0ccac8814be04af92441ebf /tools/perf/scripts/python/syscall-counts.py | |
parent | 2341d1b6598c7146d64a5050b53a72a5a819617f (diff) |
cpuset: don't allocate trial cpuset on stack
Impact: cleanups, reduce stack usage
This patch prepares for the next patch. When we convert
cpuset.cpus_allowed to cpumask_var_t, (trialcs = *cs) no longer works.
Another result of this patch is reducing stack usage of trialcs.
sizeof(*cs) can be as large as 148 bytes on x86_64, so it's really not
good to have it on stack.
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