Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp3461028ima; Tue, 23 Oct 2018 06:22:12 -0700 (PDT) X-Google-Smtp-Source: ACcGV63hX8kZ/2tw8JqTgWYDXugLo9W57BHQeAT34gz9MTfCahQcherOxDDvg5whRd/yEnZhUFlP X-Received: by 2002:a17:902:76c3:: with SMTP id j3-v6mr49097201plt.339.1540300932060; Tue, 23 Oct 2018 06:22:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540300932; cv=none; d=google.com; s=arc-20160816; b=ZAzP/UlaGsYhhlEiPWJbpOyWSYGpy803S5CziUdxkEckt+83g8ROBpY/oONKPaAq27 eYk68UIm7vTWApBLCoxx0KAmWiW5JLNteIzZZB0nFdEzfTxG30Ngmbi/YtlDLTc7Y3Sp JOAUCSwhu7GCVIHko9Ux6EQFs1zrbh01E33CQa5FUgzTa488wa9wXEqPxt1F/V2rz1nb MlOAo9JKzy6PVY77GgJ6WTgqB0DoLyggL6LJgJX4nnGdz5Bxk+UridsFCYQZadX5ZW5V lelH584BeLS2IAaDzNS8U3dgzBBr2vLIAgTix0ZA7j6c3E4r+mrotaR2+Bz+m7T3cFqU uThw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature; bh=124ptN+JUR+plZzz6Z8tK2CBPA5dj0g8J8c7U27weCM=; b=VlGBsLIhDWHKMtkZZlhVEpWE9aPbamYKIOvhub8aFX4uKAEtRbirx35aRg7wls6/LH qIYykQSVpCz/PwWw5ZXJdQldU/HVWafwssw2kplpa+46UwHvoHa0g4k2f5THeooMQ05t MU619UbwxBI8N+0f2uQ6UDZRD4FVtLIdRw9taB13KQ/0HRn2sbPUSefeqWOsiESddF22 I6XD+VAfJaqtYuBNEeooQevkWvcQUTTGpMLmFwJJExZcKH6m/wyrLhm7xlWad9UyiACT ncdKdhtIWT9pk0LxX288EtUAaQpG8qR7DibBb93NchRQOUHeRqYhRUS4uslDeabtIhWH xjjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=h5DjHWdk; 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 d81-v6si1408587pfm.40.2018.10.23.06.21.50; Tue, 23 Oct 2018 06:22:12 -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=h5DjHWdk; 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 S1727695AbeJWVms (ORCPT + 99 others); Tue, 23 Oct 2018 17:42:48 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:36850 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726277AbeJWVmr (ORCPT ); Tue, 23 Oct 2018 17:42:47 -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 w9NDId3k059339; Tue, 23 Oct 2018 13:19:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=124ptN+JUR+plZzz6Z8tK2CBPA5dj0g8J8c7U27weCM=; b=h5DjHWdkknqE3K/pHYCpt6TnHC14ml45LE6gjOQvssVEDoBo4PM7sjQFjeZXkCiuOD6A OHqFaWxepNvM7U8ehRHTg7QgS/1Yf3ZW7VnVDC0DjYJriBC0NfzTvi8icbAml6D3XexW aeMkQMUiIrlYbBwLHRv7ywFVWbecyDM/yvr4aKCyLY00UzuqnA7OY4fKopRyq0yh1Vyn Eo8RaBXwl575wXXRLuZR4zk5occWepzuHJDt4RyO87u5v8IaADX+WGo9IWk1bgE8CAb3 A/mKiKsyf68H8Klbufg262cY7nKOR3Z+XyabWiC7FYsbWvCz2t9Osi/VaxehExuPtCjv pw== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2n7usu56dt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Oct 2018 13:19:01 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w9NDJ15k006274 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Oct 2018 13:19:01 GMT 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 w9NDJ0kL011098; Tue, 23 Oct 2018 13:19:00 GMT Received: from [10.152.33.198] (/10.152.33.198) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 23 Oct 2018 06:19:00 -0700 Subject: Re: [PATCH 09/10] sched/fair: disable stealing if too many NUMA nodes To: mingo@redhat.com, peterz@infradead.org Cc: subhra.mazumdar@oracle.com, dhaval.giani@oracle.com, rohit.k.jain@oracle.com, daniel.m.jordan@oracle.com, pavel.tatashin@microsoft.com, matt@codeblueprint.co.uk, umgwanakikbuti@gmail.com, riel@redhat.com, jbacik@fb.com, juri.lelli@redhat.com, linux-kernel@vger.kernel.org References: <1540220381-424433-1-git-send-email-steven.sistare@oracle.com> <1540220381-424433-10-git-send-email-steven.sistare@oracle.com> From: Steven Sistare Organization: Oracle Corporation Message-ID: <629c5dc5-cde4-76de-4680-9fb5ecfd26cd@oracle.com> Date: Tue, 23 Oct 2018 09:18:42 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1540220381-424433-10-git-send-email-steven.sistare@oracle.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9054 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 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-1807170000 definitions=main-1810230111 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/22/2018 10:59 AM, Steve Sistare wrote: [...] > diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c > index f18c416..b7d2070 100644 > --- a/kernel/sched/topology.c > +++ b/kernel/sched/topology.c > @@ -1337,6 +1337,30 @@ static void init_numa_topology_type(void) > } > } > > +DEFINE_STATIC_KEY_TRUE(sched_steal_allow); > +static int sched_steal_node_limit; > +#define SCHED_STEAL_NODE_LIMIT_DEFAULT 1 This is an oversight; I meant to suggest a value of 2. All my 2-socket testing was done with stealing enabled. - Steve