Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1467934ybd; Wed, 26 Jun 2019 18:35:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXM4ygYa/r+XMiKaFisxqBRBDNN972dKCEvytV3g1YIsbLuESbcen0H4bQrFpEJ2baZMr2 X-Received: by 2002:a63:2310:: with SMTP id j16mr1093028pgj.238.1561599336179; Wed, 26 Jun 2019 18:35:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561599336; cv=none; d=google.com; s=arc-20160816; b=rjai3S+qy82LNOhiUkP2Bc/OAmAcv10F6JZpL9y4OlpKQD9UwTN5UWQUSJqSzjDwen QY5hKPQ1e158Ff1yWtJBOyxbtD/F/j8YXtGzW3Yhlvogj5Go3Tq5EzCKf7xtl3mMqslC mhOHDeThf4o/9gohW81XjI0HWIlHx/REaWY+Q/EHmZorYMrcPvt3rbQBkGBn16ritoQB 9silE9+mnUmifoDkCWNKTGzjFbP4rC0MgFGXF88idizRJTiVeb/2CGZM8nlGjWwHyqJm DFG3bbdVuY3zoTkvrA59ZbLVavv48/Qf5gNQuknsEaQdtrueXjL2GRGkcoOEPc0BRFk4 TKHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=+IsAOfMVpzahGu2lDbM+oEICyaMhBCIcRgFcY79hLpo=; b=JnWjX1tlZI4RjKgash9EkLgNtTysEjO4QQMiG1JZkgWEqUJBcRTMW/gVUCU5fB9DPA XuaBMMZwXadcBanQ3v9p5KH8+QS0jJ7wqYPjSvUk6RQVEr118oNPOUXgZPdyeWT0HPIr K7VLwJEGDGRAcU9J08UU9h35xeXd5wiuziiFdSP6qxYNaXOBhILvmx2vpCRT/BaeQC0i NgwJGsLmSLxybhLcboLzYSi5FRmpmOFZYd2B6KN1c/dXVSxpGf7bByAn0kA48AVnjHfY w22YQqILK6upQ4UMfkrJ9LmiDPKUixx+hGnC2eBQ1hqcu43pHUArz0ZvwL6x1x5wDUoh JFiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=HmLmCk5m; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si639571pgv.233.2019.06.26.18.35.20; Wed, 26 Jun 2019 18:35:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=HmLmCk5m; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726836AbfF0BfC (ORCPT + 99 others); Wed, 26 Jun 2019 21:35:02 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:56302 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726373AbfF0BfC (ORCPT ); Wed, 26 Jun 2019 21:35:02 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x5R1Y5xl126661; Thu, 27 Jun 2019 01:34:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=corp-2018-07-02; bh=+IsAOfMVpzahGu2lDbM+oEICyaMhBCIcRgFcY79hLpo=; b=HmLmCk5mOS2Hl697fF6mT3oFeYxccBJUKqCmzBDChJ6ALADIC/S42/t9XgqopWiHSgaY nPntzf40Pa93q7CFh1bumRyf1Xlhx4E9UvNFmUt9hIs/2iF89SIvfkg6zxKenACbc1h8 HuSdMQYAxgnoOoeNgmn06JWYj1WntrL0hcCr+XVTFB+ZamaiKPeeBPB1Yf1XbJlK/+Lq +YfSSTe2yWc9jL4fJQ2eqjHceeVWitc0oGPq3mIOWdFIew8f7quXVfkOw0OmazB+ExcU 9KLTVBcHMg/DYljN3xnxEj2dcxtIla1yUqanOWHAoGGKVSSCVLGz68XdVFKvzyWyHSOV xw== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 2t9c9pwdkx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 27 Jun 2019 01:34:30 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x5R1Xw7R160506; Thu, 27 Jun 2019 01:34:30 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 2t99f4rpm9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 27 Jun 2019 01:34:30 +0000 Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x5R1YSXv009362; Thu, 27 Jun 2019 01:34:28 GMT Received: from smazumda-Precision-T1600.us.oracle.com (/10.132.91.175) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 26 Jun 2019 18:34:28 -0700 From: subhra mazumdar To: linux-kernel@vger.kernel.org Cc: peterz@infradead.org, mingo@redhat.com, tglx@linutronix.de, steven.sistare@oracle.com, dhaval.giani@oracle.com, daniel.lezcano@linaro.org, vincent.guittot@linaro.org, viresh.kumar@linaro.org, tim.c.chen@linux.intel.com, mgorman@techsingularity.net Subject: [PATCH v3 4/7] sched: add sched feature to disable idle core search Date: Wed, 26 Jun 2019 18:29:16 -0700 Message-Id: <20190627012919.4341-5-subhra.mazumdar@oracle.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20190627012919.4341-1-subhra.mazumdar@oracle.com> References: <20190627012919.4341-1-subhra.mazumdar@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9300 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906270016 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9300 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906270017 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a new sched feature SIS_CORE to have an option to disable idle core search (select_idle_core). Signed-off-by: subhra mazumdar --- kernel/sched/features.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/features.h b/kernel/sched/features.h index 858589b..de4d506 100644 --- a/kernel/sched/features.h +++ b/kernel/sched/features.h @@ -57,6 +57,7 @@ SCHED_FEAT(TTWU_QUEUE, true) */ SCHED_FEAT(SIS_AVG_CPU, false) SCHED_FEAT(SIS_PROP, true) +SCHED_FEAT(SIS_CORE, true) /* * Issue a WARN when we do multiple update_rq_clock() calls -- 2.9.3