Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3989670pxb; Tue, 26 Jan 2021 09:31:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJcABy1BL2Mrd85bUmE7NnZdgHTKHjSTezXrZ+FS6TYXP8EmURFZ7UJP13QsFyYUKu13uh X-Received: by 2002:a50:b765:: with SMTP id g92mr5481255ede.317.1611682266845; Tue, 26 Jan 2021 09:31:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611682266; cv=none; d=google.com; s=arc-20160816; b=vtASqWNdGErCrZyFkHv9EmxB5vezkrOMtsBHuTQ/9ggfsN7COlXo13KOb4xwFy5eIv 80pSLFGI6Pjds5TitXByGyZXmco5NajF9yPLmfF9itRQKPFneL4cw7zVK5QIjBh1AoHe j645gIK/thucTUetsFtCww+HhvzS9R+ONctUQOnPs2nuYqdw6zlj+FkLBfvmPqc/DFfj l6zPktroCwT7pidk/1WKlCWjJ1/HbTrKDAMh+UCKo8025vzogVBEsgabEzblx82adAWk I1/Oo4oAVHMOPsZmpPWAcPkb/dqkBJ3hPGgbRkCqWdSL5OJdDpUzR89wvlZP8dIb7GQq PwIA== 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=zGgRl2LgOrK08d1LlX0vwaKxdqZFCdwsDDwW3pCK04w=; b=l9OqtBI5ptIDeQ/GT2nTeqHq0a4UBCuhE1dx+E1r6BSPYF4OwfZ4nXGzK72yMRAsmx rFYMce19nV9nNOu9nDtaKTdT8geywUf2SMVJL9tvz0nDMBLvsp7lhvWxqUtkoEiLTpwX gwDf0E8sBwst6qHqdSEcTuy6OPoMrfBBujxk+6wxWBAyXzTCrQSi/P/f1oNZtmYmEm5v iE5ef1sRRZKjV592BKTPC64veVXfLJMDMJcQgob85lnTL7tIlsgrCHDfzVQqd5t4xFsW 6Iv82xUmorFZ4yv3jfBIH2VwQW4DdSFH2vbYBc6uC/wIzLpsT1i0CJkPa9kkuidsPhZC eeNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=A63P29ax; 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 s26si7477049ejv.241.2021.01.26.09.30.37; Tue, 26 Jan 2021 09:31:06 -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=A63P29ax; 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 S1732524AbhAZGEu (ORCPT + 99 others); Tue, 26 Jan 2021 01:04:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728385AbhAYMuM (ORCPT ); Mon, 25 Jan 2021 07:50:12 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DB1DC061793; Mon, 25 Jan 2021 00:23:07 -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=zGgRl2LgOrK08d1LlX0vwaKxdqZFCdwsDDwW3pCK04w=; b=A63P29axSeGvBYaQuSr4Z1mADH aTLPtQ6DtNCVre3pP7QIT5fd2Oag/WJkcrEHyVvNIfJq2vKZUPRzcyfB2Wqylv7D/V8cj/DNr+1Ts h7oKUycP2rePf8U0wqHGmbcj49Yv40r7KQkmHCTPgt8qV8dIAqDaLbD/gSJVtoW8cmeKtXxnuLm36 22AW2HvZjNL0m/F/pMxCJpRGiWlVDayA399Q2a8YMUcxZWCm6MfG3wXo8MzHhAILtr/gsLPWFtyK5 LgegfnCry02MugNTroJREw2on5XGPe2HgX91fh87DL8ThWlWPIQrJzM9908v9CrJYL+9b6dS3h4x4 9plS3HCg==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l3x9H-003xRk-RF; Mon, 25 Jan 2021 08:23:01 +0000 Date: Mon, 25 Jan 2021 08:22:59 +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: <20210125082259.GB942655@infradead.org> References: <20210123201027.3262800-1-bigeasy@linutronix.de> <20210123201027.3262800-3-bigeasy@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210123201027.3262800-3-bigeasy@linutronix.de> 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 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?