[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5370F583.1090207@intel.com>
Date: Tue, 13 May 2014 00:23:31 +0800
From: Jet Chen <jet.chen@...el.com>
To: Vincent Guittot <vincent.guittot@...aro.org>
CC: mingo@...nel.org, fengguang.wu@...el.com,
linux-ia64@...r.kernel.org, linux-s390@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [sched] BUG: unable to handle kernel paging request at 093cd001
On 05/12/2014 10:43 PM, Vincent Guittot wrote:
> Hi,
>
> Sorry the previous patch, that i sent, becomes wrong after optimizing it
> Could you please try this one ?
Hi Vincent, this patch works. Thanks.
Tested-by: Jet Chen <jet.chen@...el.com>
>
> 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..205fa17 100644
> --- a/kernel/sched/core.c
> +++ b/kernel/sched/core.c
> @@ -6234,7 +6234,7 @@ static void sched_init_numa(void)
> /* Compute default topology size */
> for (i = 0; sched_domain_topology[i].mask; i++);
>
> - tl = kzalloc((i + level) *
> + tl = kzalloc((i + level + 1) *
> sizeof(struct sched_domain_topology_level), GFP_KERNEL);
> if (!tl)
> 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