Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3553462pxb; Mon, 25 Jan 2021 21:09:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7pJ5ac5bmfiQlfHp3vYqj+OH65s3uEf6bQDxCO6G/kNF1+VE2xwGZs+7FcBgV8smur2sX X-Received: by 2002:a17:906:1288:: with SMTP id k8mr2340608ejb.206.1611637762806; Mon, 25 Jan 2021 21:09:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611637762; cv=none; d=google.com; s=arc-20160816; b=R35i3us8aBuJ0WVKkE37TIZaVF34z0TRUBJYykEfiGbUj/y/z2okWL0qXZCRM80j5S qc3qXHq9ZMDtlxDKLPZiWqMDLpBN5hnjBGC13SKHYZHCbH4pTOTyo0ioeBNQ+8XEPGC1 gTeJU2kfFJgkJ5sFQAeff+XTvc+kH8UihoEaTSvn/SUQfkMb4fDF5n5UiJdmNUfscsnH XGlLD/BpfJOhGwfkw/qW77rcYQBddXRu2McWhtwfgi/tgpnxnbodOpV03PCOKQpMqS1P ChKySiHJomrRA///zEhXX6KqzPBOOEptWQtOoaa9oxs4Cn1uR+hugg8WmAvfEpp3hcRx 9XsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6x3jwWsE8Pp1a5Oj7dG5Rac0+wUmTjdtsRT6Ukvd5hQ=; b=zor8Tq60QJ7KIloNie+woTSh4zhnhsUVQWkPm66BawjEaDR2uuAepPlFoM6hpwxItg XjriU/nL7t1V2WB5K10rcuKPGMK90WBLPwBYtxJOo7GRsRHUqSesZ6+9HJqeODDlkWJl /E9m3Ir64OmaxVhNnUCHlDQIM/bO/qLFXk1v+S0gBtxYdMgD6WMi57ChqW3syJV4VyU1 CzdY7sSHa5nkFThTYPMPbNd+vp0kLNVUh2a+TKZlyxbg6x3MZfbeoAEpIul3uU13EKHz XZvdxTGjemIh9qK67U8VpLHRBGVxuXmBVYdIBrtWQBgfteBZi67QnqIIbtGnMVe3CSf0 7NBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=UQ8+JK+C; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l20si5102227ejx.471.2021.01.25.21.08.58; Mon, 25 Jan 2021 21:09:22 -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=@infradead.org header.s=casper.20170209 header.b=UQ8+JK+C; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729620AbhAZE5Q (ORCPT + 99 others); Mon, 25 Jan 2021 23:57:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbhAYJUO (ORCPT ); Mon, 25 Jan 2021 04:20:14 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08D92C061220; Mon, 25 Jan 2021 00:49:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=6x3jwWsE8Pp1a5Oj7dG5Rac0+wUmTjdtsRT6Ukvd5hQ=; b=UQ8+JK+C5EdxVY3h9h7kqA3yxq HcO3BJsbTUyaJU6LFWyBBlOSHzCtWbkEJGo+41AOwL/CIl5/c8XgOAaVylnjU7lflirCCksiS2ujD pbTzXbUR5YOy48DDHhmrxLlNqsR5zo0u4s/lO6/R1TL+91NfdAtrWWHlrT/txhfG8Qjna6qyOgqyH cPrth9syTOHeIujb9kKDlnkcUKHsKZJV0cksqMX088MxcSXh2qismrjgGUx1FrWYEbmbSXLVQCLuT x0O1Sfy6fKCTf5xaDI4YltHgAHtVEBRpDHUjDIeKF6pqUpDRsBwnQIYU2XV70jBklmMoPx+2X8BHf g+1GQqRg==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l3xYb-003yxX-Jo; Mon, 25 Jan 2021 08:49:10 +0000 Date: Mon, 25 Jan 2021 08:49:09 +0000 From: Christoph Hellwig To: Sebastian Andrzej Siewior Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Jens Axboe , Thomas Gleixner , Peter Zijlstra , Ingo Molnar Subject: Re: [PATCH 2/3] blk-mq: Always complete remote completions requests in softirq Message-ID: <20210125084909.GA948851@infradead.org> References: <20210123201027.3262800-1-bigeasy@linutronix.de> <20210123201027.3262800-3-bigeasy@linutronix.de> <20210125082259.GB942655@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210125082259.GB942655@infradead.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 25, 2021 at 08:23:03AM +0000, Christoph Hellwig wrote: > On Sat, Jan 23, 2021 at 09:10:26PM +0100, Sebastian Andrzej Siewior wrote: > > Controllers with multiple queues have their IRQ-handelers pinned to a > > CPU. The core shouldn't need to complete the request on a remote CPU. > > > > Remove this case and always raise the softirq to complete the request. > > What about changing blk_mq_trigger_softirq to take a void * argument > and thus removing __blk_mq_complete_request_remote entirely? I'll take this back - that change is in the way of what you do in patch 3. So this looks good as-is: Reviewed-by: Christoph Hellwig