Message ID | 1423074685-6336-10-git-send-email-morten.rasmussen@arm.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCCJZKMZ7UKBBBOLZGTAKGQECGIS5ZA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f199.google.com (mail-we0-f199.google.com [74.125.82.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7D02C21173 for <linaro@patches.linaro.org>; Wed, 4 Feb 2015 18:31:34 +0000 (UTC) Received: by mail-we0-f199.google.com with SMTP id u56sf2451348wes.2 for <linaro@patches.linaro.org>; Wed, 04 Feb 2015 10:31:33 -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=SBTD82UhlnP+pW5/hWzLqv7/l2sq+WFeBJh5Ckh62t8=; b=RPi4JVMrAGp1ZGDDpKQBDyYiV8Tafg47u2ktWwzFzkyEbzVcILVKluZR4siy6haX2M SLzVBTDG06828VtIx6AO7u8ZEwlTifeu3ZuI68fcdC42EnjKQYTih5h2V30u0lav0zie 3o0uDQnFmHZF1fpufyPq8ONzURFzAmvzPaJ5mgJKJBQ7pewupZbZY9rkNKfp4KmSPX4o b+suELHn1JkjnOy0FFjF79Nwt+62YX+8UCpUVO8N58x/6p272AuR+YblAAK9lqfgbmWH EFYxrFqyN5vlg71sFYDEGMWB79+nbtB9Nd6Dw+3DWH2pCcrFTNyW9/XkVbxIf2p6oZC/ zPIA== X-Gm-Message-State: ALoCoQnpxng0v7Rl03XSEYim7lge3oqDP5Fb0uAOIZdvLa9I6vVA29hKg1krNOrReV1z05AUOEed X-Received: by 10.180.12.146 with SMTP id y18mr560504wib.6.1423074693765; Wed, 04 Feb 2015 10:31:33 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.224.129 with SMTP id rc1ls72280lac.48.gmail; Wed, 04 Feb 2015 10:31:33 -0800 (PST) X-Received: by 10.152.29.6 with SMTP id f6mr21166564lah.82.1423074693540; Wed, 04 Feb 2015 10:31:33 -0800 (PST) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id s8si2061283laj.69.2015.02.04.10.31.33 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Feb 2015 10:31:33 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id gf13so3176337lab.8 for <patchwork-forward@linaro.org>; Wed, 04 Feb 2015 10:31:33 -0800 (PST) X-Received: by 10.152.203.230 with SMTP id kt6mr31465717lac.38.1423074693339; Wed, 04 Feb 2015 10:31:33 -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.35.133 with SMTP id h5csp664706lbj; Wed, 4 Feb 2015 10:31:32 -0800 (PST) X-Received: by 10.66.154.162 with SMTP id vp2mr47800109pab.73.1423074691633; Wed, 04 Feb 2015 10:31:31 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id vf8si3009381pbc.191.2015.02.04.10.31.28; Wed, 04 Feb 2015 10:31:31 -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 S1161589AbbBDSbC (ORCPT <rfc822;ivan.khoronzhuk@linaro.org> + 29 others); Wed, 4 Feb 2015 13:31:02 -0500 Received: from foss-mx-na.foss.arm.com ([217.140.108.86]:41535 "EHLO foss-mx-na.foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161557AbbBDSa4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 4 Feb 2015 13:30:56 -0500 Received: from foss-smtp-na-1.foss.arm.com (unknown [10.80.61.8]) by foss-mx-na.foss.arm.com (Postfix) with ESMTP id 5685B518; Wed, 4 Feb 2015 12:30:47 -0600 (CST) Received: from collaborate-mta1.arm.com (highbank-bc01-b06.austin.arm.com [10.112.81.134]) by foss-smtp-na-1.foss.arm.com (Postfix) with ESMTP id 4BC8D5FAC1; Wed, 4 Feb 2015 12:30:47 -0600 (CST) Received: from e105550-lin.cambridge.arm.com (e105550-lin.cambridge.arm.com [10.2.131.193]) by collaborate-mta1.arm.com (Postfix) with ESMTP id B01A013F983; Wed, 4 Feb 2015 12:30:45 -0600 (CST) From: Morten Rasmussen <morten.rasmussen@arm.com> To: peterz@infradead.org, mingo@redhat.com Cc: vincent.guittot@linaro.org, dietmar.eggemann@arm.com, yuyang.du@intel.com, preeti@linux.vnet.ibm.com, mturquette@linaro.org, nico@linaro.org, rjw@rjwysocki.net, juri.lelli@arm.com, linux-kernel@vger.kernel.org Subject: [RFCv3 PATCH 09/48] sched: add SD_PREFER_SIBLING for SMT level Date: Wed, 4 Feb 2015 18:30:46 +0000 Message-Id: <1423074685-6336-10-git-send-email-morten.rasmussen@arm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1423074685-6336-1-git-send-email-morten.rasmussen@arm.com> References: <1423074685-6336-1-git-send-email-morten.rasmussen@arm.com> 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: morten.rasmussen@arm.com 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.49 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 252011d..a00a4c3 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -6236,6 +6236,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% */