On Fri, Jan 17, 2014 at 08:39:21AM -0500, Prarit Bhargava wrote:
[...]
> +
> +     if (!alloc_cpumask_var(&online_new, GFP_KERNEL)){
> +             ret = -ENOMEM;
> +             goto out;
> +     }
> +
> +     if (!alloc_cpumask_var(&affinity_new, GFP_KERNEL)) {
> +             ret = -ENOMEM;
> +             goto free_online_new;
> +     }
>  
This function is protected by stop_machine, which means the interrupts have
been disabled, so GFP_KERNEL is not reliable.

Attachment: signature.asc
Description: Digital signature



Reply via email to