Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp415085imm; Thu, 28 Jun 2018 23:26:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIDMUYwB3iMWF9XqHq38sAEK192m3ZRsJpEgV+XVfHKfVVMhecvYoxQLPjZqStSFibXAq0n X-Received: by 2002:a63:370f:: with SMTP id e15-v6mr11336723pga.192.1530253579134; Thu, 28 Jun 2018 23:26:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530253579; cv=none; d=google.com; s=arc-20160816; b=v6E+4JgLnVm7rWSaWNHtTuqT8a8BUoxeniMo0POT7T4oRJ5hZbRvP8vp+0M0MU+xXM n1aCYGp8n6fY5BC7QWCIlfaktQVaUrJKlVBCw+2UkGtbEkRewYwp5Lp/6ymdHZ0kV9Nd v0hCKxD1tk219bS1kIzUwB85b6z+WmmIE6IuZus8DubLj/p4oV6RLfi6bRJ3tKaudNYY w3YBwGsf5RUk8XojrjMC8xaWpkCKU8OCf77cHUPvTEwBwU0R7R3AFygGmShTy4Ng3Zcy Wk0nBsPyeFrr0lJxdqrOSvQbCfk4Lxmkr/g8I3EOGD72dUwQb+B5Zf9eHPW8AH0xat2m DXbw== 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:arc-authentication-results; bh=ku8xBGZiCyWmNDUzv4ayAt5Rwiea3p9IL20jGtX8myM=; b=r0n6bkOj8ZYzFEXmz3WvlbMMmhC8/RJSCwI6zX1NlT0+GNIlnoncl/5je5Iyp8qcgQ mqVeKBu9OZi/Wy5hZwDoIoWhTglzAGyBXJQt25xFb6jWLyiRX8xl/3A7NzW/p+DYgQmE 6e2uadqHk0OPyvqRlIhb1gKygj/Mvbj1ASJ9eFc9YJiV4ikxA91U+2oL6g6kRBMaxb60 mEDCLnI6P3s9C/aGvbnnFxdEG9M2HB5OULqvhpHt1WVwdOVq6juVyzeTmf/Gg2UydFo9 5hjpfJzYX3FUD0DazJ10jaspLYMfZ3IDNt9/tnRo31UIt0WNqIAx4rLHRtNb/hVLeilZ bcZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=jgl5cz0n; 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 n2-v6si4101140pgq.675.2018.06.28.23.26.04; Thu, 28 Jun 2018 23:26:19 -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-2017-10-26 header.b=jgl5cz0n; 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 S936133AbeF1Wn4 (ORCPT + 99 others); Thu, 28 Jun 2018 18:43:56 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:47382 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934442AbeF1Wnz (ORCPT ); Thu, 28 Jun 2018 18:43:55 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5SMd6PN035421; Thu, 28 Jun 2018 22:43:23 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-2017-10-26; bh=ku8xBGZiCyWmNDUzv4ayAt5Rwiea3p9IL20jGtX8myM=; b=jgl5cz0nyytX5kSIdh3DgxE9nIZKewoXEHZIbt7yQNekZh3V42tDi+Mcpr2/cqDnCmGg Pymu2i521ZzaAM+hrzWwW/bUS1qrN2hxUhq9EhIJog9v0Xo7gj6DNZINgfKQ6BtYTc1I bYmxhqGi81KMZU4khgc60k5cdVUVWBGWBAk7LwOVI7Wss7s/QD8d5DzVW4W3Kt8tJAET St1NsDZro80g3G45b4/Y06zUhyTPH3Qd+vJYkSJGAcT5POszs6F1G6l12ipwEh4nfQMa Sfesy+T2AoYDdPexsMuiNF7AVpqAbJJH1TNkxKBa3rkpUX00pYcA6pB7IyzjOHPnvixd jw== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2jum5844yc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 28 Jun 2018 22:43:23 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w5SMhNll012759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 28 Jun 2018 22:43:23 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5SMhM7R023369; Thu, 28 Jun 2018 22:43:22 GMT Received: from smazumda-Precision-T1600.us.oracle.com (/10.132.91.87) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 28 Jun 2018 15:43:22 -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, rohit.k.jain@oracle.com, daniel.lezcano@linaro.org Subject: [PATCH 4/5] sched: add sched feature to disable idle core search Date: Thu, 28 Jun 2018 15:44:55 -0700 Message-Id: <20180628224456.13548-5-subhra.mazumdar@oracle.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20180628224456.13548-1-subhra.mazumdar@oracle.com> References: <20180628224456.13548-1-subhra.mazumdar@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8938 signatures=668703 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=920 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1806280249 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 85ae848..de15733 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