Messages in this thread | | | Date | Thu, 15 Aug 2013 11:09:16 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH] cpumask: fix cpumask leak in partition_sched_domains |
| |
On Tue, Aug 06, 2013 at 08:06:42PM +0800, Xiaotian Feng wrote: > 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 <xtfeng@gmail.com> > Cc: Ingo Molnar <mingo@redhat.com> > Cc: Peter Zijlstra <peterz@infradead.org> > Cc: Rusty Russell <rusty@rustcorp.com.au> > Cc: Thomas Gleixner <tglx@linutronix.de> > Cc: linux-kernel@vger.kernel.org
Thanks!
| |