Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5639668imm; Tue, 12 Jun 2018 10:49:51 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIaFNWeJmyJLnzGaII2ZPymVt2e0guCT7Y0QGry4Odys4TZPzihuH9ewLhKvdnPKtbzkLJI X-Received: by 2002:a63:711c:: with SMTP id m28-v6mr1212652pgc.66.1528825791688; Tue, 12 Jun 2018 10:49:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528825791; cv=none; d=google.com; s=arc-20160816; b=MrmT1EfocmaMZL4BG/p+xHF/RSuV7BqiG9POrJKL0BE7aYy01MYj/bQHKd4W2sTeAq 2KOF4GtaiSHDMlsuDysymdlnHC1bY1y8UEEkKnR1clJyPnXw5zXNwDBNXI+FEIWs7s8X s7Cvl+5YEjfQov+RcfPy0zrpnOB+3q6C/kmb/XgtAyjQm0XPhu8E2qh9a/V/VkNSlJth GU9u8w+CiS+ARTjtjUhzSmQuQ6/KSV94t7JBSU4UEolPV4IXso1sefF3+u7jbE/8V6df OoFMS5cNE/EK0Q31fdq+de0PMFDSZoM20xbiEnq5sNKZK1+hD5HA9YG6IODG8GDJxqcN G6BQ== 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=tcJsOVNTDUU/k+g4bZ2XChLfNL4e+KflE4WOmtzLDVEVlOhY5VV4fmKx03cPC0bOlo sKxyMLO8HCA5cphOKf0JUKAE4hZvOVFPk+DCJjFVU/NePq9t6fKrY7W15TCpugAnZv5A QPdEsJHPibGWy2M5xTq08esxEQ9kNhZU2tCeqvIP84rFJhRItkfQMrE0OQqzKt4hgV8E 2W0WRLL9/Py9BS7I98UNYCiDK/KGmaZtmprMmzhO63x8/s6G3Bw00N5l9tMpmTFMllTJ lXXcMwRgYBeVTkkiDQVwJRrPwT2uCwK8f1gNySi71CKyvJ4vhx/n+t/4MalGYjJQrkC9 0bsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=uXTne7Wg; 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 z62-v6si612940pfk.197.2018.06.12.10.49.37; Tue, 12 Jun 2018 10:49:51 -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=uXTne7Wg; 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 S934309AbeFLRso (ORCPT + 99 others); Tue, 12 Jun 2018 13:48:44 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:54054 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934018AbeFLRsj (ORCPT ); Tue, 12 Jun 2018 13:48:39 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5CHjvq3139741; Tue, 12 Jun 2018 17:48:09 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=uXTne7WgYCcuFsRVZT+g36E/GtcHIbxHcZKP0R+5DuVH0KlwCReO0jtWHec1elEAtsMe EHQ6/xuCJ2ro+mf6l57p5SWZJ2h8+ClYynH8cxpwiRiyrs6HGIRWLqGK2VbePfcCdC8a FvjiGRZuRBVAN/HivfowF7Yn3qqgVY0/RLNNotckCXKWMyboBdzTQ2DwfZlULSiIGAUN CK9femQZcP1MvNSteqEVgKPIV6MdgxDGtMMUKlWvZUT5ccBO8B79Xt1sWElYar86YoiE KRwnf0KDf5aLo0fJYZIHaNjKxKqbdGw7nK0MA1IMrDggyHI4rCM9M730vdxCcwcyTSJE /g== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2120.oracle.com with ESMTP id 2jgecxjbfr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Jun 2018 17:48:08 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w5CHm7fQ023509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Jun 2018 17:48:08 GMT Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5CHm72a006226; Tue, 12 Jun 2018 17:48:07 GMT Received: from smazumda-Precision-T1600.us.oracle.com (/10.132.91.87) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 12 Jun 2018 10:48:07 -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: Tue, 12 Jun 2018 10:50:01 -0700 Message-Id: <20180612175002.31453-5-subhra.mazumdar@oracle.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20180612175002.31453-1-subhra.mazumdar@oracle.com> References: <20180612175002.31453-1-subhra.mazumdar@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8922 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=927 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806120198 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