Message ID | 1415033687-23294-10-git-send-email-vincent.guittot@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCPZXIGQSEHBBAPI32RAKGQE7DBH45Y@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f71.google.com (mail-ee0-f71.google.com [74.125.83.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C38AF21894 for <linaro@patches.linaro.org>; Mon, 3 Nov 2014 16:57:38 +0000 (UTC) Received: by mail-ee0-f71.google.com with SMTP id e51sf3091272eek.2 for <linaro@patches.linaro.org>; Mon, 03 Nov 2014 08:57:38 -0800 (PST) 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=Bsl1jFefYDn+KLmzwTkCRiP2HNvrfQLRf1vpbD+mcyDUwR7BQu5FIYedtzGQysPiSR USiwsOrFupTL3+fs7b1bphfRO0++vMYfnzx2GgjyAkK7rPiCIgurosDjkAtacB8sMmVA yUkSQknrZUx4AeRy0QIkuNsSBLDFPvON0oY3brYnXWnUkoyKFk1fjLgZ95ND/UF77mba hJr1f2C440rCwt8Eqg+UjxwxUgrbg2XH4ozj16LhB9wssPw6OfLbLrXq5Oajvo0i/dvV DQKXjOfY2AfZ/Gb+Bh4xe5gOIsjUr8NgiurwvaCN6Ag+Ohddshl4KY6XewrBAv4LCsN1 Wusw== X-Gm-Message-State: ALoCoQm8A1EwE7wA0dAuqC0dF4t5ZvcGtkp96q6VoZOgm2eMl4vo4pHb3LknUhDIp/PUzthS644k X-Received: by 10.112.89.195 with SMTP id bq3mr1053662lbb.9.1415033857913; Mon, 03 Nov 2014 08:57:37 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.133 with SMTP id b5ls704875lah.26.gmail; Mon, 03 Nov 2014 08:57:37 -0800 (PST) X-Received: by 10.152.44.233 with SMTP id h9mr52122614lam.73.1415033857741; Mon, 03 Nov 2014 08:57:37 -0800 (PST) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id g5si16873826lbd.20.2014.11.03.08.57.37 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Nov 2014 08:57:37 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by mail-lb0-f181.google.com with SMTP id l4so2900468lbv.40 for <patchwork-forward@linaro.org>; Mon, 03 Nov 2014 08:57:37 -0800 (PST) X-Received: by 10.152.120.199 with SMTP id le7mr29504724lab.67.1415033857602; Mon, 03 Nov 2014 08:57:37 -0800 (PST) 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.141.34 with SMTP id rl2csp21105lbb; Mon, 3 Nov 2014 08:57:36 -0800 (PST) X-Received: by 10.70.35.229 with SMTP id l5mr43882069pdj.47.1415033855657; Mon, 03 Nov 2014 08:57:35 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si15764605pdj.69.2014.11.03.08.57.35 for <multiple recipients>; Mon, 03 Nov 2014 08:57:35 -0800 (PST) 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 S1753036AbaKCQ5c (ORCPT <rfc822;hongbo.zhang@linaro.org> + 25 others); Mon, 3 Nov 2014 11:57:32 -0500 Received: from mail-wi0-f175.google.com ([209.85.212.175]:53529 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752812AbaKCQ4Q (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 3 Nov 2014 11:56:16 -0500 Received: by mail-wi0-f175.google.com with SMTP id ex7so7049881wid.14 for <linux-kernel@vger.kernel.org>; Mon, 03 Nov 2014 08:56:15 -0800 (PST) X-Received: by 10.194.78.82 with SMTP id z18mr3867629wjw.120.1415033775762; Mon, 03 Nov 2014 08:56:15 -0800 (PST) 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 s8sm22798078wjx.9.2014.11.03.08.56.13 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Nov 2014 08:56:14 -0800 (PST) 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-kernel@lists.infradead.org Cc: riel@redhat.com, efault@gmx.de, nicolas.pitre@linaro.org, linaro-kernel@lists.linaro.org, Vincent Guittot <vincent.guittot@linaro.org> Subject: [PATCH v9 09/10] sched: add SD_PREFER_SIBLING for SMT level Date: Mon, 3 Nov 2014 17:54:46 +0100 Message-Id: <1415033687-23294-10-git-send-email-vincent.guittot@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415033687-23294-1-git-send-email-vincent.guittot@linaro.org> References: <1415033687-23294-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.217.181 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% */