Re: [PATCH] Fix KMALLOC_MAX_SIZE overflow during cpumask allocation

2014-12-08 Thread Alex Thorlton
On Mon, Dec 08, 2014 at 11:42:14AM +0100, Ingo Molnar wrote: > This patch fails to build with certain configs: > > kernel/sched/core.c:7130:33: error: incompatible types when assigning to type > ‘cpumask_var_t’ from type ‘void *’ Thanks for letting us know, Ingo. I believe George has something

Re: [PATCH] Fix KMALLOC_MAX_SIZE overflow during cpumask allocation

2014-12-08 Thread Ingo Molnar
* Alex Thorlton wrote: > When allocating space for load_balance_mask, in sched_init, when > CPUMASK_OFFSTACK is set, we've managed to spill over KMALLOC_MAX_SIZE on our > 6144 core machine. The patch below breaks up the allocations so that they > don't > overflow the max alloc size. It also a

[PATCH] Fix KMALLOC_MAX_SIZE overflow during cpumask allocation

2014-12-02 Thread Alex Thorlton
When allocating space for load_balance_mask, in sched_init, when CPUMASK_OFFSTACK is set, we've managed to spill over KMALLOC_MAX_SIZE on our 6144 core machine. The patch below breaks up the allocations so that they don't overflow the max alloc size. It also allocates the masks on the the node fr