From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com ([134.134.136.20]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fQhfG-00038U-4h for speck@linutronix.de; Thu, 07 Jun 2018 01:16:27 +0200 Date: Wed, 6 Jun 2018 16:16:22 -0700 From: Andi Kleen Subject: [MODERATED] Re: [patch V2 00/12] cpu/hotplug: SMT control Message-ID: <20180606231622.GD7220@tassilo.jf.intel.com> References: <20180606192714.754943543@linutronix.de> MIME-Version: 1.0 In-Reply-To: <20180606192714.754943543@linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Wed, Jun 06, 2018 at 09:27:14PM +0200, speck for Thomas Gleixner wrote: > The following series is a reworked version of the initial proof of concept > patch. The main changes are: I still think it's pointless to add so much kernel code for something that can be done with a straight forward user script at run time using existing APIs. We need strong justifications to add new kernel APIs. https://raw.githubusercontent.com/andikleen/pmu-tools/master/cputop.py SMT-off: ./cputop.py 'thread == 1' offline | sh SMT-on: /cputop.py offline online | sh -Andi