From patchwork Mon May 12 09:52:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Guittot X-Patchwork-Id: 29961 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f72.google.com (mail-pa0-f72.google.com [209.85.220.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B0E632013D for ; Mon, 12 May 2014 09:53:22 +0000 (UTC) Received: by mail-pa0-f72.google.com with SMTP id rd3sf39735299pab.3 for ; Mon, 12 May 2014 02:53:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=FiixiSa9cSeVsC6py474tCt/NIyfm2NI5dGcGrpJ5Ho=; b=W5OPR1cQhkTXWqmIFqxGma7GlEIBYWxWx5YiGe+LcPyiWbLBz6pwof1TsddCJlRfDT qNX8XBWzvwcUpaMXi3NR8ZtgX8Vc7/muQIkLRjxCx28n0v6rllFoel+6jM/nPgdNOGbu WuCWNDl7r+uH+UcBhjpiTID5jZjWQIO58cov+azDk0LhISXLDgYlF5llFxSsWH4jCGdX y0goIrPoeVmurh50aPQuspU7/1zXVk/9Hz95jxbgqr/7XwijvIDpIB9r2vDOFZlVJW7V adJ8aRJw/rQLMjw06kPs2x9hfx2EuJlpMyDDNpw4g/8tv63hZnG0OwI3N72rI1XCh5al vXrQ== X-Gm-Message-State: ALoCoQl0pEcVmMT8KkuaW9S3/nJbosdLP21KYGYC3nGJkiMGecytIdGXU4h26Vcy3Wht9wtB6L8q X-Received: by 10.66.158.6 with SMTP id wq6mr10757928pab.39.1399888401983; Mon, 12 May 2014 02:53:21 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.95.232 with SMTP id i95ls1206731qge.7.gmail; Mon, 12 May 2014 02:53:21 -0700 (PDT) X-Received: by 10.220.182.5 with SMTP id ca5mr121224vcb.50.1399888401846; Mon, 12 May 2014 02:53:21 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id f7si1991797vcs.42.2014.05.12.02.53.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 May 2014 02:53:21 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id ij19so8392774vcb.14 for ; Mon, 12 May 2014 02:53:21 -0700 (PDT) X-Received: by 10.58.120.46 with SMTP id kz14mr6654408veb.25.1399888401673; Mon, 12 May 2014 02:53:21 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp55450vcb; Mon, 12 May 2014 02:53:20 -0700 (PDT) X-Received: by 10.66.150.69 with SMTP id ug5mr53310101pab.55.1399888400493; Mon, 12 May 2014 02:53:20 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wg8si9482589pac.139.2014.05.12.02.53.19; Mon, 12 May 2014 02:53:19 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755362AbaELJxJ (ORCPT + 27 others); Mon, 12 May 2014 05:53:09 -0400 Received: from mail-we0-f182.google.com ([74.125.82.182]:53328 "EHLO mail-we0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752039AbaELJxF (ORCPT ); Mon, 12 May 2014 05:53:05 -0400 Received: by mail-we0-f182.google.com with SMTP id t60so6705911wes.27 for ; Mon, 12 May 2014 02:53:04 -0700 (PDT) X-Received: by 10.194.243.3 with SMTP id wu3mr20557926wjc.29.1399888384029; Mon, 12 May 2014 02:53:04 -0700 (PDT) Received: from lmenx30s.lme.st.com (LPuteaux-656-01-48-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by mx.google.com with ESMTPSA id kp5sm17224300wjb.30.2014.05.12.02.53.02 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 May 2014 02:53:03 -0700 (PDT) From: Vincent Guittot 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 Subject: RE: [sched] BUG: unable to handle kernel paging request at 093cd001 Date: Mon, 12 May 2014 11:52:04 +0200 Message-Id: <1399888324-2007-1-git-send-email-vincent.guittot@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <53708067.7050700@intel.com> References: <53708067.7050700@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: vincent.guittot@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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);