Message ID | 1412684017-16595-8-git-send-email-vincent.guittot@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCPZXIGQSEHBB5NSZ6QQKGQECFQKAUQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F28B3202E7 for <linaro@patches.linaro.org>; Tue, 7 Oct 2014 12:15:50 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id cc10sf2800279wib.7 for <linaro@patches.linaro.org>; Tue, 07 Oct 2014 05:15:49 -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=exrJzWrUCxYOWn0jOYGr2dJVg3IH1HOOpwCn1a0OHQI=; b=QWLLMpf5lzh912QbZJc1pUz3aH8GZIq6P+KI515dW/FR9A5B7D3Ut1FRrNb2MbXV7o vYbgO5dJN8m060VY6kUf59bZW4z0WDy01vp4GNFwUTukaNKlqHFb+lVtenf6hTsrUpVT D0cqP/aArW3sCtb1Lv36HFPSdzndWj0WAD484JlBNavtVABnVZj4EqWNayyrITtf5vw1 GCJfBZoa6aqWlewuStIk8rg9HGg1JL1DCDQk/Re3BtGa+M0tS/LOSN0xGa+lo7vBh4uh tf+JQ5M0/DHk3cf2yiBtWjxd1/5Ba8vuEacDoG9d6Ss1asU6KrcPTpM9tbvXXQVCQMF5 IUsg== X-Gm-Message-State: ALoCoQk5dRcF0gCRsRkCn9vA9416qtK4HyriI8b2g8WsceacJavJDrw/tYglsasFB7qx6C9xk5gp X-Received: by 10.112.156.167 with SMTP id wf7mr8791lbb.20.1412684149761; Tue, 07 Oct 2014 05:15:49 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.193 with SMTP id x1ls706340lae.53.gmail; Tue, 07 Oct 2014 05:15:49 -0700 (PDT) X-Received: by 10.152.206.101 with SMTP id ln5mr3768144lac.46.1412684149131; Tue, 07 Oct 2014 05:15:49 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) by mx.google.com with ESMTPS id c10si28422910lab.76.2014.10.07.05.15.48 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Oct 2014 05:15:48 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id gb8so6304056lab.3 for <patchwork-forward@linaro.org>; Tue, 07 Oct 2014 05:15:48 -0700 (PDT) X-Received: by 10.152.28.167 with SMTP id c7mr3721869lah.27.1412684148534; Tue, 07 Oct 2014 05:15:48 -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.112.130.169 with SMTP id of9csp338943lbb; Tue, 7 Oct 2014 05:15:47 -0700 (PDT) X-Received: by 10.70.91.39 with SMTP id cb7mr3562333pdb.8.1412684146864; Tue, 07 Oct 2014 05:15:46 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rh13si13063157pdb.36.2014.10.07.05.15.45 for <multiple recipients>; Tue, 07 Oct 2014 05:15:46 -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 S1753687AbaJGMPn (ORCPT <rfc822;ankit.jindal@linaro.org> + 27 others); Tue, 7 Oct 2014 08:15:43 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:60314 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753396AbaJGMPW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Oct 2014 08:15:22 -0400 Received: by mail-wi0-f172.google.com with SMTP id n3so7611488wiv.5 for <linux-kernel@vger.kernel.org>; Tue, 07 Oct 2014 05:15:21 -0700 (PDT) X-Received: by 10.194.58.229 with SMTP id u5mr2859413wjq.133.1412684121595; Tue, 07 Oct 2014 05:15:21 -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 v9sm20544897wjy.14.2014.10.07.05.15.19 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Oct 2014 05:15:20 -0700 (PDT) From: Vincent Guittot <vincent.guittot@linaro.org> To: peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org, preeti@linux.vnet.ibm.com, Morten.Rasmussen@arm.com, kamalesh@linux.vnet.ibm.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Cc: riel@redhat.com, efault@gmx.de, nicolas.pitre@linaro.org, linaro-kernel@lists.linaro.org, daniel.lezcano@linaro.org, dietmar.eggemann@arm.com, pjt@google.com, bsegall@google.com, Vincent Guittot <vincent.guittot@linaro.org> Subject: [PATCH v7 7/7] sched: add SD_PREFER_SIBLING for SMT level Date: Tue, 7 Oct 2014 14:13:37 +0200 Message-Id: <1412684017-16595-8-git-send-email-vincent.guittot@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412684017-16595-1-git-send-email-vincent.guittot@linaro.org> References: <1412684017-16595-1-git-send-email-vincent.guittot@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> 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.215.44 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 37fb92c..731f2ad 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -6165,6 +6165,7 @@ sd_init(struct sched_domain_topology_level *tl, int cpu) */ if (sd->flags & SD_SHARE_CPUCAPACITY) { + sd->flags |= SD_PREFER_SIBLING; sd->imbalance_pct = 110; sd->smt_gain = 1178; /* ~15% */