* [PATCH 2.6.16-mm2 2/4] sched_domain: Don't use GFP_ATOMIC
@ 2006-04-01 18:55 Srivatsa Vaddagiri
0 siblings, 0 replies; only message in thread
From: Srivatsa Vaddagiri @ 2006-04-01 18:55 UTC (permalink / raw)
To: Andrew Morton, Ingo Molnar, Nick Piggin
Cc: suresh.b.siddha, Dinakar Guniguntala, pj, hawkes, linux-kernel
Patch below (against 2.6.16-mm2) replaces GFP_ATOMIC allocation for
sched_group_nodes with GFP_KERNEL based allocation.
Signed-off-by: Srivatsa Vaddagiri <vatsa@in.ibm.com
diff -puN kernel/sched.c~sd_dontusegfpatomic kernel/sched.c
--- linux-2.6.16-mm2/kernel/sched.c~sd_dontusegfpatomic 2006-04-01 23:39:01.000000000 +0530
+++ linux-2.6.16-mm2-root/kernel/sched.c 2006-04-01 23:39:14.000000000 +0530
@@ -6121,7 +6121,7 @@ static int build_sched_domains(const cpu
* 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;
_
--
Regards,
vatsa
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-04-01 18:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-01 18:55 [PATCH 2.6.16-mm2 2/4] sched_domain: Don't use GFP_ATOMIC Srivatsa Vaddagiri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox