From: Srivatsa Vaddagiri Date: Tue, 27 Jun 2006 09:54:39 +0000 (-0700) Subject: [PATCH] sched_domai: Don't use GFP_ATOMIC X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d3a5aa9858cc9cecc3aadac7311d376c7c9e101a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [PATCH] sched_domai: Don't use GFP_ATOMIC Replace GFP_ATOMIC allocation for sched_group_nodes with GFP_KERNEL based allocation. Signed-off-by: Srivatsa Vaddagiri Cc: Ingo Molnar Cc: "Siddha, Suresh B" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/sched.c b/kernel/sched.c index 77a2ec55ef7d..e93c75ffdc88 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -5880,7 +5880,7 @@ static int build_sched_domains(const cpumask_t *cpu_map) * Allocate the per-node list of sched groups */ sched_group_nodes = kzalloc(sizeof(struct sched_group*)*MAX_NUMNODES, - GFP_ATOMIC); + GFP_KERNEL); if (!sched_group_nodes) { printk(KERN_WARNING "Can not alloc sched group node list\n"); return -ENOMEM;