Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp13958rdb; Wed, 14 Feb 2024 11:07:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVyOGjtzyHnvA23N/4JXMrol/IYbOnETWIVdFhU+LnjMpuGqhoQSXXeWGUwqAWHhsTo80CxgD1ROdo4NQvYEPqnINy1I7Bh3ZOkYiBN8w== X-Google-Smtp-Source: AGHT+IG6jXDRfqVWF3kXy4fYHV2qmr6HaGaMRVkntoRFn/KB29v5m8TIH6bDq0fZQCOIeRi5WmQH X-Received: by 2002:a05:620a:42:b0:787:1db5:f0de with SMTP id t2-20020a05620a004200b007871db5f0demr4519508qkt.26.1707937633568; Wed, 14 Feb 2024 11:07:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707937633; cv=pass; d=google.com; s=arc-20160816; b=009rVvY4I9skD4aZkUa67C8eOksbO2Ffew1DZEMwokvrt3PRDlcREGg/4hd4eYe6SE pfNcPSxAcooboPp3K0n+gqrs+Rsv8GJGsD4fJG+h9uLem9OmhZzZgJG17ZXHqtt69Q4u lK1bwPbXOmTJgg/wsKMm3OVhLbDwjSyf0B2ODF7KzABor59TaccCzL9+qPKCK/VNhmY8 L+BhvjI21zyboUFbgcunRYBAGUmLd3OG6YOD50tXXrZymeWgQmU7myFaciOGGUjZCsjU aHBKJn5Ekeuaq8lfUTX+Ua0Gcb7jsgxK4aFL01es95I6JEbQGYeibW154dRIo8IdRU28 jyvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rrj06WBEVkGII72TIMpbKKvXYs1O1D5VjTMRDkQroAo=; fh=ylpXp2U1ZTZ2HgU1lLOz+xFrEgzcLZVdk6iI8rhjog4=; b=OMYwqmuzdDgr4SiBnNXVcNNmxu93C8W1q+hvwqpVZizR38ycx6FmZz8YRwchBcvppk S6kqiSugoncYMjYnFxz7g/HI5Lo8cgL7k2LJ07Mv3vQZygDO8OykfJsFUTO3nlkdF7fH rbbnvsbqmheROEQRCjAPe+r4pQgIH3zgcPPR/OdnGkktT6sKi/6EHPkCO0iFg39jnYL2 NKv5HuX45n9pbK+1E5tUBXz2OuBCVAqg8V+Fydb3zYpCS1WUPDmIqZhu6ZV2E0J/41Ls PxZ7IN41/g+CxzM3G6xyyfQ0abU69hgbTK+5UqNAulLpeEJxYDDq+ON8sAhQVGGNaBF+ eF5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YHJyqyec; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-65859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65859-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=2; AJvYcCU22duaH9XMikMA/WlPD3KSrydOjNYWHtg/qMg2LyFNmyObEzNqc4OSTLg34HlGxnQUv0WrbH7qmHZY/t9JgFccEuPntLy4xKX6Yr8rcA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e27-20020ab0169b000000b007cd620ccbf9si1901508uaf.101.2024.02.14.11.07.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 11:07:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YHJyqyec; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-65859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65859-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 130551C2398D for ; Wed, 14 Feb 2024 19:06:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9583713A862; Wed, 14 Feb 2024 19:06:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="YHJyqyec" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46A1760DE5 for ; Wed, 14 Feb 2024 19:06:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707937564; cv=none; b=AadA+kFpV03bJDqDs9VKL8s/vysRSP0hqxOhVip1A0Ue0+XElJhBiy/N3IlstrMqdBeb5YlAZ3j3o/rNCW+T+3rgxMF+FqF0MflHV0Ml3Dg0u3Xrdi54dsJSNVlfsBNgZWfkLH4KxrtDqDGYAw8xUNpW7HDItrwmsE961D1HGlY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707937564; c=relaxed/simple; bh=xFMeZwcDHHVXswxCzpJihYdm2tRWpo2qchzwb+I7kKM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BSFT3GmcXaXYMLk2k4mWuMLgQ83P/JH41kGhMPyZluM+oIDfea1U0sNGMPsWM76Pxn9TkDHCg5/OpIpk8sXZt4QB0MEwPPjRJ1rKJm5kdneP6xs2Aevxgy5tPmkagNRjE2UrRJ3xXn5K7dNGNIMSbLJAsEOKdOzu+6XBG1Ba5xo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=YHJyqyec; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707937562; 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=rrj06WBEVkGII72TIMpbKKvXYs1O1D5VjTMRDkQroAo=; b=YHJyqyecLY/RDx9opP+hcb8NQ5PIut1CAsJdobdB/NXenyXAarMSRmNDjzlSICA8K8XxYT BLMAfNtzCGwl8vdYN8UXGN+xTeZLov8YJGlCrvV305T07hwQO3MrdsUCDJApif/sskdCCz j0bYeiuGoVEErCUmyjGc47acEFBZvXQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-373-Px-Z8yAsN9m3hy992gZR6A-1; Wed, 14 Feb 2024 14:05:58 -0500 X-MC-Unique: Px-Z8yAsN9m3hy992gZR6A-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AFC411005055; Wed, 14 Feb 2024 19:05:57 +0000 (UTC) Received: from tpad.localdomain (unknown [10.96.133.6]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DC781200AE71; Wed, 14 Feb 2024 19:05:56 +0000 (UTC) Received: by tpad.localdomain (Postfix, from userid 1000) id 35EF440419F4D; Wed, 14 Feb 2024 15:59:36 -0300 (-03) Date: Wed, 14 Feb 2024 15:59:36 -0300 From: Marcelo Tosatti To: Thomas Gleixner Cc: linux-kernel@vger.kernel.org, Daniel Bristot de Oliveira , Juri Lelli , Valentin Schneider , Frederic Weisbecker , Leonardo Bras , Peter Zijlstra Subject: Re: [patch 11/12] x86/resctrl: use smp_call_function_single_fail Message-ID: References: <20240206185710.116221062@redhat.com> <87zfw5k8w8.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87zfw5k8w8.ffs@tglx> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 On Mon, Feb 12, 2024 at 04:19:19PM +0100, Thomas Gleixner wrote: > On Tue, Feb 06 2024 at 15:49, Marcelo Tosatti wrote: > > Convert update_task_closid_rmid from smp_call_function_single > > to smp_call_func_single_fail, which will fail in case > > the target CPU is tagged as block interference CPU. > > You fail again to provide a rationale for this change. > > What's worse is that you fail to explain why you think that creating > inconistent state is a valid approach. Well, the patch is broken and needs fixing.