Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1194773ybl; Fri, 30 Aug 2019 13:27:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRwF7hU9/aocG+Anh1q00P1YCfYF5GEkaEK84k9W7R0l0A4fJGD2mx93xlb6Fci0TAhMKf X-Received: by 2002:a63:2264:: with SMTP id t36mr13827538pgm.87.1567196864181; Fri, 30 Aug 2019 13:27:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567196864; cv=none; d=google.com; s=arc-20160816; b=O1c/CDA5j/MRDWIXwab4YtMt1Ig+ttQM3Qq0g0CXApaBUhnSogGxMC0hbYxMwk2QLi sqe2NXsvOJHOicQq3QD3CDbcFSOaCBZLDXVXZ6n1VpXKfjjv3YWNhBA5qCwmv/JrG8/q OGbWGmzG8r0E/Y67J4fFJSxVqS5WgxcRkow45tlKj6dEdmZ7xNM/nY1M+SUa0/apMmqb EKSiIAJSlLS0VfnAZls/yPdb6rjqnaIVGFWdm+IK0DUdNsM/KX8EyEr1QGt2N29XTQsZ O7JMEsdo/XDG0KkVDIj1bv9Ku2fYImqfmIu4TTiTOR4NuJGe0Be6+K80W0w0y1GtoTwk 6v4g== 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=da/DWAgDoPzRF7RRSUN58t55oGWEJ0GjBEkj2W1p2VQCTgXaBDsIQuAY32POQ+5eJI 3sZmzUQrJRbH4Jj280ZIyeXE9x8nuuO2yF71egxHhlkmb98gKtC4EGsFj0AOzQKcSzKp TjVJ3Yh7IxIvLq5Rvxx+rfl64rlLnQeXMpHweoEmNDDFQeF2KMukxdjR6JQ914YiAmvv kaRprIAll2f0lrW3gJ0G1451uUy1xyg+iqYLWeWzTzPbpv5J8GscBBzXZN54cUBmfBX3 65Pv1StGY+4TKN9dwuy08kRwnmJX580ihO65soMgqTS4VQribAfhJyMPLCNkwXaRZB6T B18g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=qjlgasho; 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 cu3si5629444pjb.74.2019.08.30.13.27.28; Fri, 30 Aug 2019 13:27:44 -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-2019-08-05 header.b=qjlgasho; 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 S1728129AbfH3U0g (ORCPT + 99 others); Fri, 30 Aug 2019 16:26:36 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:40916 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727992AbfH3U0g (ORCPT ); Fri, 30 Aug 2019 16:26:36 -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 x7UKPbJg008356; Fri, 30 Aug 2019 20:26:01 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-2019-08-05; bh=+IsAOfMVpzahGu2lDbM+oEICyaMhBCIcRgFcY79hLpo=; b=qjlgasho68ZXU0nlCSS9C9ebImsf748nTzZIflPbvgmMtV+RPXTX0yH1UFT6GtNP509u SwY6W9IkyGL6dB0oxuRY7arsnrKpxVMx6fhabfwuvyG8cfoWVoJG5fB/6RgAh02Kjn2K HdgE8iuJAjfmACS4e4TTTj6Bbgh20P4HgC1uWPw/VHDkwJZHwxKaDWpwMsR7ZjImcZQ4 dycKdDYqtir5/dPBZB+DMGxt9OSodfLB95gZ2BBY4HoUGJm6hNOcgY9FGDl0XjKdV30w hZFg+HLY10yTR6cU1rRhBbYAyETiTzbYsz9C8qW01dmTTfZibZ8Ojnartn0Cl+XQyF+k LQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 2uqatw800w-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 30 Aug 2019 20:26:01 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7UHrniU071728; Fri, 30 Aug 2019 17:54:35 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 2upc8xrme7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 30 Aug 2019 17:54:35 +0000 Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x7UHsY08027782; Fri, 30 Aug 2019 17:54:34 GMT Received: from smazumda-Precision-T1600.us.oracle.com (/10.132.91.113) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 30 Aug 2019 10:54:33 -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, parth@linux.ibm.com, patrick.bellasi@arm.com Subject: [RFC PATCH 3/9] sched: add sched feature to disable idle core search Date: Fri, 30 Aug 2019 10:49:38 -0700 Message-Id: <20190830174944.21741-4-subhra.mazumdar@oracle.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20190830174944.21741-1-subhra.mazumdar@oracle.com> References: <20190830174944.21741-1-subhra.mazumdar@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9365 signatures=668685 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-1906280000 definitions=main-1908300174 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9365 signatures=668685 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-1906280000 definitions=main-1908300194 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