Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2820768lqo; Mon, 20 May 2024 19:32:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXFolRQBw+Pf3Qrr75Jeog2iWjH+OWxRpPMxL0+/+FuiSX+/ieO/BHXL2fNNvAH20flQgYE41rx0nxa+/+hYFv1n+4Y/GZ05i6QqECpEA== X-Google-Smtp-Source: AGHT+IFc6So4yDOuOzk1eqvQdg+E9E2tLC2Mp1MbJIAVO0y1EU7FLk8THadXWFrsNw6XQOUJGHmG X-Received: by 2002:adf:eb12:0:b0:34d:8735:20ad with SMTP id ffacd0b85a97d-3504a96a3bemr19354406f8f.45.1716258746285; Mon, 20 May 2024 19:32:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716258746; cv=pass; d=google.com; s=arc-20160816; b=SDNi6vo4c4B5ydh16TKXZtiVKRmphqdv91RoX1MA7io29QbgRJmEHp6xHbVIoXcS5z WorXr6aQmn9MdfIgUAJBPGBAo6fRKZ/ru3jkTdBIbrlvB/gTbikbdqC/5hiJsePlmnDC hf0qaX1gSWVdO3dE2nMSYdE7H2vSO8QFx7iSSROI3H7h6bIoDYKpzeTKJtbDKz5XuCLX O3raZGU0dOq544YFefea6ALti8HyVQnPucHq6R/jMDd92nRZ+LCyiJE7/CyuROkjkC8Z S886U83bmm7u5+uG+jyGAAqexyuSiufpq90Mt7K7dZLSzsYTqz6WE8nYjlt6XUNBCxyy DCPA== 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=Un8QUR/OoDAegeOGSZU2tmkAkH/Qfnn42zoBkjHSFWQ=; fh=N3vknMly5vcjP22Bfqp2emAj/kDZxlH3ZnMVRTABSfE=; b=UIpXmyMTD74hCFPmS86J5LASw3/LCNwpJyhDlehhFyeJ35Xra+zePCGAsmVx27V2qw ASo9/2bviRpav0nw2vCuBrnr+WxmVAsEscxMOUs4ua3UJYQy4ShZVX2w08Npsq0bjvms YTSErFTMFazuJOQuwubsxvyHvr9kmJXC4iCnCo+9ZY4k3ZfE/C6HNsxhBq5RwenDvPt7 yx5S8FSA5hGi0Dy8ZM2zFpwmMMp+1ci+FkWFN0AHKqJeikhAPnAqaqq05aRsmdH+emjk nA6IbNME5UKAXODlRTbDLF+LJdZuBYOzZnREonGx7ciNhJvmbyT6VhkqeuWxZxybzZo6 pvVQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="WPW/NJG9"; 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-184368-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184368-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733bec15f8si13291065a12.184.2024.05.20.19.32.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 19:32:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184368-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="WPW/NJG9"; 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-184368-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184368-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E8FC31F2110F for ; Tue, 21 May 2024 02:32:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85D0C1BF47; Tue, 21 May 2024 02:32:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="WPW/NJG9" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 3641218B1A for ; Tue, 21 May 2024 02:32:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716258734; cv=none; b=WLrVPTdJGdYCzyALgT8bbOPAzliaNFDOkqVLt0Z1E4AwB7IpuS+8ZRU9dZ8o0udP4kURSs+Bes9cQn9jDQkDG5vi0lNMFLv23Z9m+cpdbSAUGTuKuPGpxKHIWuCiICOECq2VNd6kp5xNii+ajkAk6IKkwNtuvfwvkCU2cFc99nY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716258734; c=relaxed/simple; bh=TxaiOK+n9xLn7AmF/Nk/8MmJvBcjtJjWDr86bLQQoGQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OcsnrEXZ9sO6QGVTKaSnnguRMhJdeN0hBkbzlZKGXB+0RMZl0vqRWphX1iZvPZLl2TDp1AHHl3WLcv/Qm8rr/PgBq41DTzu0eC2pL5k0d6MghvFOgVBP+AmR3AWhvuP0+0kvG9RR0vqdflDlkoIn+7HjneJnsJZA8YBCRo2pxZE= 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=WPW/NJG9; arc=none smtp.client-ip=170.10.133.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=1716258732; 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=Un8QUR/OoDAegeOGSZU2tmkAkH/Qfnn42zoBkjHSFWQ=; b=WPW/NJG9dCSi4Gza5PN3Yy+pQfDJyYz89Unx2sHawEyOJuex2ZbMMY+aIQ+L64Utsb0rX1 AubveTl4NCxH3YkdbMmSZvyqXS9XqsQ/HASwpJTwldE1ZBPZ4m4yc18Cu3IvBHBKD66lSn PCE2WehS+fsWn1XPGay2848d0zx5A3E= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-182-jxA6zLjfPNq6lOlyTHTqrw-1; Mon, 20 May 2024 22:32:10 -0400 X-MC-Unique: jxA6zLjfPNq6lOlyTHTqrw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (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 0C6CA29AA39D; Tue, 21 May 2024 02:32:10 +0000 (UTC) Received: from fedora (unknown [10.72.116.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 91A8D100B0C0; Tue, 21 May 2024 02:32:04 +0000 (UTC) Date: Tue, 21 May 2024 10:31:59 +0800 From: Ming Lei To: Christoph Hellwig Cc: Thomas Gleixner , Keith Busch , Keith Busch , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] nvme-pci: allow unmanaged interrupts Message-ID: References: <20240510141459.3207725-1-kbusch@meta.com> <20240510141459.3207725-2-kbusch@meta.com> <20240510151047.GA10486@lst.de> <87r0e7mt9w.ffs@tglx> <20240520153742.GB921@lst.de> 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: <20240520153742.GB921@lst.de> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 On Mon, May 20, 2024 at 05:37:42PM +0200, Christoph Hellwig wrote: > On Sun, May 12, 2024 at 08:35:55AM +0200, Thomas Gleixner wrote: > > That's expected as you pin the I/O operation on the isolated CPUs which > > in turn makes them use the per CPU queue. > > > > The isolated CPUs are only excluded for device management interrupts, > > but not for the affinity spread of the queues. > > We'll probably need a version of isolcpus that also excludes the > interrupt spread given that users are asking for it. And I'd much > prefer that over adding radom module options to every driver to disable > managed interrupts. BTW, isolcpus has been marked as deprecated, and it can't be adjust runtime. isolcpus= [KNL,SMP,ISOL] Isolate a given set of CPUs from disturbance. [Deprecated - use cpusets instead] Thanks, Ming