diff options
| author | Xiaotian Feng <[email protected]> | 2013-08-06 20:06:42 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-08-16 17:44:27 +0200 |
| commit | c8d2d47a9cbb4222ae4e993aa0e3703430c8193c (patch) | |
| tree | d522413abcf9c69d3ceef66e7dc4708560812645 /tools/perf/scripts/python/compaction-times.py | |
| parent | d3ec3a1fd08f705d1b319db4113590944bcde749 (diff) | |
cpumask: Fix cpumask leak in partition_sched_domains()
If doms_new is NULL, partition_sched_domains() will reset ndoms_cur
to 0, and free old sched domains with free_sched_domains(doms_cur, ndoms_cur).
As ndoms_cur is 0, the cpumask will not be freed.
Signed-off-by: Xiaotian Feng <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: [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/compaction-times.py')
0 files changed, 0 insertions, 0 deletions