Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796312913; b=wiuMngnfBokRI+ZU0ar/K68zZuiTW1yEjmaUIWOkbrHJeu5tr334TeKdYF/uf6GioOsJ IxpDesFxrptHL8cuEenEN0pMsBizZVaO8gDnvgMYszujMggmk6MW5c/NYm4Uo93FTwSF9 3JceOxl+y4n7SJUxiaIjZzru91LuKRdlmQ4c3UebbEMLpa9YZqeFa04ktRPoAZR0sKTyv E/vEUGwbVtIEdbV0uoFuYme7Vq4QL27HLaTnDbcH/xmPvjlKffQZp0ykUVOrs931DM16K AJNd9+OjaBSuof9y1Mf5a089J/ZNoXyP8Vt4SpiJD5/cUxTUnDKoCsqCnGyCwN6fZAA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796312913; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=mtaeUxRh3cwUxneW8w7kDHmejLpaybT1j9tlqYPr54U=; b=zQ+10PbUSzPIzmMOXOJ/C1SDdOX+olYuznj4vw6i34seIGhRXRr7zZOUJITFUnCbvAUu 2tF9gBDG9Rc7YOmtkTEuOSFotLK6WRQ/4T87ncY5JfvSCKl5aQ3CfNpP0gSteawJ9aadn y4lEC0SjB+ELsdkzTiBiUmgOlsL6hYh9L3C5wYCIX/PsHLVPJvSqJxJjJFSgCQ/MQk4WR DEdJDKQMARWB4PGvHhlatraPCtaDaDfqvCcLkjCSXZ5t+yzeDlE8lPLFR3wsepGCEPE9Y lF5BR1JPjrogmz1B4YUCk6YfGUp72tpedGIsof7nED3K2UjweHQCPCDkx1a6RNDYxlw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BJjVjQeI; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83AA5606A322 for ; Thu, 3 Dec 2026 15:48:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BJjVjQeI Received: by smtp.kernel.org (Postfix) with ESMTPSA id 201171F000C1; Thu, 3 Dec 2026 15:48:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796312913; bh=mtaeUxRh3cwUxneW8w7kDHmejLpaybT1j9tlqYPr54U=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=BJjVjQeIEdJulwj91F8fW1MFoXqa2QM3IRM3D9jcOWU21EGi3/8YdeBXkdQGtz54w T7hlqHFIj+DEFZEDOyWVineuVj1QnrhjTD1GhPq9hAyCo3zcQD4LrwyNNDu10Zo2E0 TWgR8wcq7yXtXKVcfDgRhUogPFRSmcOAg+4hyuP16lMN3FZimf1oWNYjpt5B+x1DrN I4m7U/UNUc5qVZTqcqPG2NQDjpJWj491jeIVfkbi4lzmJ2bVSujJ7awZIpIL6IJTag tiWmSaSaEHl+djLvan4Uy+Ai4J0goiG/2o9dLSDC3T4d6BkxiMTzM3dpryO5qRH6Q0 Dkajj1Iy2DChQ== Date: Thu, 3 Dec 2026 08:48:31 -0700 From: Keith Busch To: Fengnan Cc: Christoph Hellwig , Keith Busch , linux-nvme@lists.infradead.org, linux-pci@vger.kernel.org, tglx@kernel.org, namjain@linux.microsoft.com Subject: Re: [RFC PATCH 0/3] nvme-pci: dynamic interrupt moderation Message-ID: References: <20261013223543.395054-1-kbusch@meta.com> <16e8bc03-42c2-4bc8-bce9-dab49aad66b8@bytedance.com> <20261028150712.GA16374@lst.de> <8d42a690-79f7-4431-bffb-73decfc97dad@bytedance.com> <20261203080045.GB29002@lst.de> X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Thu, Dec 03, 2026 at 04:14:36PM +0800, Fengnan wrote: > For me, I hope Keith will choose a direction: DIM or non-DIM, and then > IŽll move forward in that direction. DIM is fine with me, too. Sorry for the slow response on this. Let's forget DIM. The DIM one mostly worked around it rather than fully committed to using it. Maybe it could be made more flexible for this driver to use it, but let's not wait on that. I think we need to move the hybrid irq/poll handling into a generic library, so this isn't nvme-private. The idea is a timer-driven irq_poll helper. I have something on top of the disable_irq_noflush() series, with nvme-pci built on your non-DIM version. I'm just trying to reserve some test equipment to run it on right now, I'll post it once confirmed to be working.