From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13AE2C3F2CD for ; Mon, 23 Mar 2020 16:22:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D61292051A for ; Mon, 23 Mar 2020 16:22:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727408AbgCWQWI (ORCPT ); Mon, 23 Mar 2020 12:22:08 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:41988 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727067AbgCWQWI (ORCPT ); Mon, 23 Mar 2020 12:22:08 -0400 Received: from p5de0bf0b.dip0.t-ipconnect.de ([93.224.191.11] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jGPpw-00021O-Na; Mon, 23 Mar 2020 17:22:00 +0100 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id 138461040AA; Mon, 23 Mar 2020 17:22:00 +0100 (CET) From: Thomas Gleixner To: Marcelo Tosatti , Chris Friesen , linux-kernel@vger.kernel.org Cc: Christoph Lameter , Vu Tran , Jim Somerville , Andrew Morton , Frederic Weisbecker , Peter Zijlstra Subject: Re: [PATCH] affine kernel threads to specified cpumask In-Reply-To: <20200323135414.GA28634@fuller.cnet> References: <20200323135414.GA28634@fuller.cnet> Date: Mon, 23 Mar 2020 17:22:00 +0100 Message-ID: <87k13boxcn.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Marcelo, Marcelo Tosatti writes: the subject lacks a prefix and the CC list a few people. > This is a kernel enhancement to configure the cpu affinity of kernel > threads via kernel boot option kthread_cpus=. > > With kthread_cpus specified, the cpumask is immediately applied upon > thread launch. This does not affect kernel threads that specify cpu > and node. > > This allows CPU isolation (that is not allowing certain threads > to execute on certain CPUs) without using the isolcpus= parameter, > making it possible to enable load balancing on such CPUs > during runtime. I'm surely missing some background information, but that sentence does not make any sense to me. Thanks, tglx