Re: [PATCH 1/1] cpumask: add alloc_cpumask_var_node V2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rusty Russell wrote:
> On Tuesday 16 December 2008 14:49:37 Mike Travis wrote:
>> Add alloc_cpumask_var_node.  This will be needed in x86 code to
>> allocate the domain and old_domain cpumasks on the same node as
>> where the containing irq_cfg struct is allocated.
> 
> OK, this is understandable.  If you don't mind I'll split this patch
> into documentation and node patches separately.
> 
> Since kmalloc(size, gfp) == kmalloc_node(size, gfp, -1), I think
> we can change this to implement alloc_cpumask_var() in terms of
> alloc_cpumask_var_node(..., numa_node_id()).
> 

Cool, thanks!

Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux