Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1276177pxb; Thu, 28 Jan 2021 12:10:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/9Ot836HBxIS7SwcxYNm+4peYcQS3qIW4EnhY8jn/AhRmGWsmzrt8v5ZBDvCqaZJVCJSM X-Received: by 2002:a17:906:2407:: with SMTP id z7mr1150207eja.219.1611864610576; Thu, 28 Jan 2021 12:10:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611864610; cv=none; d=google.com; s=arc-20160816; b=jwkdb761VAp91QGduD/w4/jJlbkrPxYYZcYjbpl2uwQeLagNtFiVyMOMM2TGaqvwhA lRNxjZzWhkXUrMvarZmMFt5wHkj/DXCEE72tlmubERYknKGT8FO7mzumyGBgiEqaJy66 teknn+7sUEzT0w8NaDPy9mzJE4EzY1qkgJMcki19AjqLa7RJ9/m14I2ouVan87n2BGGs QrUIWq3Fx7u2zIt0yhmwhpUcmxYnKhFBN1P6EIZygJzAnWW8LFa6gRtKtyvMsVOZKrsc enTkdNMtHz5SfngTV8q5ItEV5JKZkXnCJJmxsrt3Pp42wCh9+V8XhQ98apmpa3Dt1rWO SXnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=3eLkCvYAhriOPJ7z9HfTV78cQyqxpEiJgEGLW8Ug9OQ=; b=PHE8vYKXHrNw6m5/0Rcj6yWCP1u/320XmkEid9WQJ94bqWkuxS1B6mQl7JYFh2/VKt aUhRxVuzrRjVAQ2RkkCOZaATIAvQ6AQa2KKOsIEaRTVwGpI6XDZAImn6p7wXhdWrd2G0 O0x35c22re1IF0J5Gk+V7lafbS627x57dTNVlpQ1eyftEKmr49sB+09J1CwewuSIeAx1 QziYP/nzKHXYZTuPUDf7n1gIm+tuzY48pkaZ1Qo3TzeTu/ELSdYY/nyNdOWg+X5fhJYJ eSD1fqeIr/FsX9HlkjhmRf2TKuTw4F7sco7+9cv9NDFwH5nMdUvrwBdyeX2wACyvJU+a z7Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=rgutv3+b; dkim=neutral (no key) header.i=@linutronix.de header.b=v7oE4IEZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si3175301ejy.478.2021.01.28.12.09.45; Thu, 28 Jan 2021 12:10:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=rgutv3+b; dkim=neutral (no key) header.i=@linutronix.de header.b=v7oE4IEZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231407AbhA1UGM (ORCPT + 99 others); Thu, 28 Jan 2021 15:06:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231383AbhA1UDU (ORCPT ); Thu, 28 Jan 2021 15:03:20 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38B78C061221; Thu, 28 Jan 2021 12:01:39 -0800 (PST) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1611864097; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3eLkCvYAhriOPJ7z9HfTV78cQyqxpEiJgEGLW8Ug9OQ=; b=rgutv3+b4fCuQO2NPYLPM2A2LF4QtgxTtRCEhMqLfK2dt00gMtMdV9q8L3UUZQwSHs8nqV NzjwfoARCvHimHhCzQL0trvvJQ9CLz/u+9cafws4RLNRbyxfde6MPKuUGPrk0ho3YZMjvS JhxP5cELF4GcPbBgYJmeajT1gRLCfkJoIVgNGVyKIEZS5rulATe7u8Hiv081AJKVn3A6KI MvDcZnBcbXGxt0eFyyEiRR/O7PPBx+B81r5r3ykM/tqeB1gu6oG4rf4Y+E4EtFsaTLBJgU wINUReJQv/XStMHDY5Ahd8NExFJ4QCwnxp/Y2/KMkSjzaHg2hZKVYeFLmZf9qQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1611864097; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3eLkCvYAhriOPJ7z9HfTV78cQyqxpEiJgEGLW8Ug9OQ=; b=v7oE4IEZ8qTXtqCCRrOIGMvMr/fgmhz8b8qcg+0shet7zAWJFLgUt26gLWthcNVEwkr7Tr kgAjekNEjbSjyAAA== To: Marcelo Tosatti , Nitesh Narayan Lal Cc: Robin Murphy , Nitesh Narayan Lal , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, frederic@kernel.org, juri.lelli@redhat.com, abelits@marvell.com, bhelgaas@google.com, linux-pci@vger.kernel.org, rostedt@goodmis.org, mingo@kernel.org, peterz@infradead.org, davem@davemloft.net, akpm@linux-foundation.org, sfr@canb.auug.org.au, stephen@networkplumber.org, rppt@linux.vnet.ibm.com, jinyuqi@huawei.com, zhangshaokun@hisilicon.com Subject: Re: [Patch v4 1/3] lib: Restrict cpumask_local_spread to houskeeping CPUs In-Reply-To: <20210128165903.GB38339@fuller.cnet> References: <20200625223443.2684-1-nitesh@redhat.com> <20200625223443.2684-2-nitesh@redhat.com> <3e9ce666-c9cd-391b-52b6-3471fe2be2e6@arm.com> <20210127121939.GA54725@fuller.cnet> <87r1m5can2.fsf@nanos.tec.linutronix.de> <20210128165903.GB38339@fuller.cnet> Date: Thu, 28 Jan 2021 21:01:37 +0100 Message-ID: <87h7n0de5a.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 28 2021 at 13:59, Marcelo Tosatti wrote: >> The whole pile wants to be reverted. It's simply broken in several ways. > > I was asking for your comments on interaction with CPU hotplug :-) Which I answered in an seperate mail :) > So housekeeping_cpumask has multiple meanings. In this case: ... > So as long as the meaning of the flags are respected, seems > alright. Yes. Stuff like the managed interrupts preference for housekeeping CPUs when a affinity mask spawns housekeeping and isolated is perfectly fine. It's well thought out and has no limitations. > Nitesh, is there anything preventing this from being fixed > in userspace ? (as Thomas suggested previously). Everything with is not managed can be steered by user space. Thanks, tglx