Re: [PATCH v14 03/12] cpuset: Simply allocation and freeing of cpumasks

From: Tom Hromatka
Date: Fri Oct 19 2018 - 11:29:51 EST




On 10/15/2018 02:29 PM, Waiman Long wrote:
The previous commit introduces a new subparts_cpus mask into the cpuset
data structure and a new tmpmasks structure. Managing the allocation
and freeing of those cpumasks is becoming more complex.

So a number of helper functions are added to simplify and streamline
the management of those cpumasks. To make it simple, all the cpumasks
are now pre-cleared on allocation.

Signed-off-by: Waiman Long <longman@xxxxxxxxxx>

Thanks!

Reviewed-by: Tom Hromatka <tom.hromatka@xxxxxxxxxx>