Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1790725ybi; Sat, 8 Jun 2019 18:59:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCaIvjqe3Y/kG6F/ifNMmR01K0zaYnl/PCT6zxGMd9CHsfr9F3Pw9MnKo6DG5s/6ZiZcCu X-Received: by 2002:a17:90a:b298:: with SMTP id c24mr13806788pjr.18.1560045577372; Sat, 08 Jun 2019 18:59:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560045577; cv=none; d=google.com; s=arc-20160816; b=Za5WEFNwc+0WWr2kf21iK9BiYqiKO5R/L31UUo3OHG57TM3iyzIQvTB5kg/0o8RwLT pGFWoqhiiwb+9s5lmSWTpV3oqGEQVFrgHvInBsMNYjIBe9Kfm0LawFE4ROC8YwUjmLTL wryNneHm34cp/EF1ma8YH6Q0Y4le2XteF/6abPclujsXlu9gFiMLW5cE/fj3JX5nLP50 VR9oB53OsgVNLSnjFRsApa2yjijLvfGE678RNNSs9d0O7qTleuVl9xAPDbQbQcyfpGjD /qmBTNLii62yrBmDH8isLOdSZ7zCQ0EyPf230/9EVWRL6LwI3CncnHCzJPoXYIM3oEoe EJnA== 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=szCJYUGqBfijMnikb+84y4+6NZqtvMklz00wj5RC8GJMmHw4oCM3GjfGyPsJyGar+v ktzwxPS7PsBdEwCLiqWXjGgzITeCbwm0Q1UqOt4DJ5vDvq4xsw8K0DPMAmJcOproIPQw MFymdyTMiQxTUZdNcMjRjjoziu/lYgVvYN0PgM8jkY5avFwZXEAYQ/dAenmYFNnoZ8ny 4/19ejQBYiTNBc/4uHvhNtG48CHeHBmzSvhwjGbA7uMndS9pSNibrGEvazj8rvCJNtrM onsbGwRWueUlH+4kjoVPx4EDUIAZajhl7UhgP85UpGLVGoXeTso6Z0sXqRwrt1ln3UFD mnTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=oN1QCTbk; 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 h61si6167792plb.256.2019.06.08.18.59.21; Sat, 08 Jun 2019 18:59:37 -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=oN1QCTbk; 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 S1728072AbfFIB5J (ORCPT + 99 others); Sat, 8 Jun 2019 21:57:09 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:47892 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727841AbfFIB5I (ORCPT ); Sat, 8 Jun 2019 21:57:08 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x591roSA022816; Sun, 9 Jun 2019 01:54:47 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=oN1QCTbkeJEilY+d5Ayb8bNHsq8BWfr/UKCCjYsGofh+l/LD20JzywuzbkWzWPWXMEIV +l8m7fGjLTdtCZKluULE0SG8VLDPyM+g1dR4LCcvzmBQ5BhbsxgbYMmqlJFiz118C7+b YeYVUOK5Cc106Ej7XLRkTqQA0UDvBLsvd4UOPknFJAv8CGe1v7UEtkqsQS9cOZELAAKQ FRNKvpchCv4i8S4GCW4sfZN7tWwIiQOKuThKcOBzOklK8kBJBFKPJ8JRz79sFYDhLrxX eFI4k0jD6JTjc7Pys3lOyGaXVHaj4bfYzxi4yKFGqZxYyOoMcKuT0KfDTZAcTt2vO/BW WA== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 2t04eta46w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 09 Jun 2019 01:54:47 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x591skA3109069; Sun, 9 Jun 2019 01:54:47 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 2t04bku22v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 09 Jun 2019 01:54:46 +0000 Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x591semx017892; Sun, 9 Jun 2019 01:54:40 GMT Received: from smazumda-Precision-T1600.us.oracle.com (/10.132.91.175) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 08 Jun 2019 18:54:40 -0700 From: subhra mazumdar To: linux-kernel@vger.kernel.org Cc: peterz@infradead.org, mingo@redhat.com, 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: Sat, 8 Jun 2019 18:49:51 -0700 Message-Id: <20190609014954.1033-5-subhra.mazumdar@oracle.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20190609014954.1033-1-subhra.mazumdar@oracle.com> References: <20190609014954.1033-1-subhra.mazumdar@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9282 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-1906090012 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9282 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-1906090013 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