From: Vincent Guittot <vincent.guittot@linaro.org>
To: jet.chen@intel.com
Cc: mingo@kernel.org, fengguang.wu@intel.com,
linux-ia64@vger.kernel.org, linux-s390@vger.kernel.org,
linux-kernel@vger.kernel.org,
Vincent Guittot <vincent.guittot@linaro.org>
Subject: RE: [sched] BUG: unable to handle kernel paging request at 093cd001
Date: Mon, 12 May 2014 09:52:04 +0000 [thread overview]
Message-ID: <1399888324-2007-1-git-send-email-vincent.guittot@linaro.org> (raw)
In-Reply-To: <53708067.7050700@intel.com>
Hi,
Does this patch solve your issue ?
A null line is missing at the end of the array for NUMA case.
My test was passed thanks to a null data after the allocated array
regards,
Vincent
---
kernel/sched/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 4ea7b3f..941da33 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -6232,7 +6232,7 @@ static void sched_init_numa(void)
}
/* Compute default topology size */
- for (i = 0; sched_domain_topology[i].mask; i++);
+ for (i = 1; sched_domain_topology[i].mask; i++);
tl = kzalloc((i + level) *
sizeof(struct sched_domain_topology_level), GFP_KERNEL);
--
1.9.1
next parent reply other threads:[~2014-05-12 9:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <53708067.7050700@intel.com>
2014-05-12 9:52 ` Vincent Guittot [this message]
2014-05-12 14:36 ` [sched] BUG: unable to handle kernel paging request at 093cd001 Jet Chen
2014-05-12 14:43 ` Vincent Guittot
2014-05-12 16:23 ` Jet Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1399888324-2007-1-git-send-email-vincent.guittot@linaro.org \
--to=vincent.guittot@linaro.org \
--cc=fengguang.wu@intel.com \
--cc=jet.chen@intel.com \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=mingo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox