[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-epfc1io9whb7o22bcujf31vn@git.kernel.org>
Date: Wed, 30 May 2012 06:37:07 -0700
From: tip-bot for Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, anton@...ba.org, hpa@...or.com,
mingo@...nel.org, a.p.zijlstra@...llo.nl, tony.luck@...el.com,
tglx@...utronix.de
Subject: [tip:sched/urgent] sched: Don'
t try allocating memory from offline nodes
Commit-ID: 2ea45800d8e1c3c51c45a233d6bd6289a297a386
Gitweb: http://git.kernel.org/tip/2ea45800d8e1c3c51c45a233d6bd6289a297a386
Author: Peter Zijlstra <a.p.zijlstra@...llo.nl>
AuthorDate: Fri, 25 May 2012 09:26:43 +0200
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Wed, 30 May 2012 14:02:23 +0200
sched: Don't try allocating memory from offline nodes
Allocators don't appreciate it when you try and allocate memory from
offline nodes.
Reported-and-tested-by: Tony Luck <tony.luck@...el.com>
Reported-and-tested-by: Anton Blanchard <anton@...ba.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Link: http://lkml.kernel.org/n/tip-epfc1io9whb7o22bcujf31vn@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
kernel/sched/core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 75844a8..5573361 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -6436,7 +6436,7 @@ static void sched_init_numa(void)
return;
for (j = 0; j < nr_node_ids; j++) {
- struct cpumask *mask = kzalloc_node(cpumask_size(), GFP_KERNEL, j);
+ struct cpumask *mask = kzalloc(cpumask_size(), GFP_KERNEL);
if (!mask)
return;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists