Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 15 Jun 2018 19:02:22 -0000 Received: from userp2130.oracle.com ([156.151.31.86]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fTtzI-0005Zc-7m for speck@linutronix.de; Fri, 15 Jun 2018 21:02:21 +0200 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 w5FIwguj061078 for ; Fri, 15 Jun 2018 19:02:12 GMT Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2130.oracle.com with ESMTP id 2jk0xrj4d0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 15 Jun 2018 19:02:12 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w5FJ2AZc017374 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 15 Jun 2018 19:02:11 GMT Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w5FJ2ANm027797 for ; Fri, 15 Jun 2018 19:02:10 GMT Date: Fri, 15 Jun 2018 15:02:09 -0400 From: Konrad Rzeszutek Wilk Subject: [MODERATED] Re: [patch V3 01/12] sched/smt: Update sched_smt_present at runtime Message-ID: <20180615190209.GJ13695@char.us.oracle.com> References: <20180615162801.748896789@linutronix.de> <20180615162947.510962250@linutronix.de> MIME-Version: 1.0 In-Reply-To: <20180615162947.510962250@linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Fri, Jun 15, 2018 at 06:28:02PM +0200, speck for Thomas Gleixner wrote: > Subject: [patch V3 01/12] sched/smt: Update sched_smt_present at runtime > From: Peter Zijlstra > > The static key sched_smt_present is only updated at boot time when SMT > siblings have been deteced. Booting with maxcpus=1 and bringing the I got some _really_ (hah) important reviews in case you are respinning or applying them now: s/deteced/detected/ > siblings online after boot rebuilds the scheduling domains correctly but > does not update the static key, so the SMT code is not enabled. > > Let the key update in the scheduler CPU hotplug code to fix this. s/key update/key be updated/