Re: [PATCH] sched/core: Clear the root_domain cpumasks in init_rootdomain()

Peter Zijlstra
2015-12-02T12:34:22Z

On Wed, Dec 02, 2015 at 07:52:59PM +0800, Xunlei Pang wrote:
> The patch cleans the garbage by using zalloc_cpumask_var()
> instead of alloc_cpumask_var() for root_domain::rto_mask
> allocation, thereby addressing the issues.

How did you notice this? Also do we want to do the same for the kmalloc
in alloc_rootdomain() ?