Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2655325pxb; Tue, 23 Feb 2021 12:07:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGUcofxYC3X3CyIPYReDhS7IeSNleFPbwwAX7Lc2MoPN5JEZgNkpyuM+XAuAESG7M62sv5 X-Received: by 2002:a17:907:373:: with SMTP id rs19mr15210585ejb.341.1614110837058; Tue, 23 Feb 2021 12:07:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614110837; cv=none; d=google.com; s=arc-20160816; b=yslHnh7WVkzobdq78CERjuNwkRidxb++OheXskzVEW1wEWuOq/7ERFUZYRiq4qAA5m gC4Zb2O9YdjXr2r8Uuv54hYgaBAbVd/cVuoplmATf/3qu5zFPl0iynY3QStl57q918i6 /fjH7MSpyCVbvytG4maOSO0LQ9+TX6G6OFQXnZ/Vri761WIqd3Bk4RS2UoxL3B5yZgAU M1k4NM4/hUWtz8+Dhc04ElbfFU6mlDXBHYT0+Izi4flGyy9/oSbswX0ugl4bhR8i2eHO OGjQhYXFkb0M+g3jyckE1otz3x1zP0vclvJ7v8Nvl2RzNwxKXggaLn/ix6Le9KBa8env tGfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=1fRk72mjruY6lYh4Sy3Lpp3jwRahJ8NqyyUFccnQbjg=; b=pNAQPw6zkW4RBt7fiFrkBPTH+oaa24IcqxjvcU9uDLZdmnmsAIVjQVGgxxNieOBkfZ vsq8ZwmihV1n33MMbwr8c3Yqzjee6YpiedF4qeUbuYdCQUH3sAaDUr97bmDeg2Bnvaml DP4Ww3/jrz6dA3VURGod9p6D9sGRBuxA8BdNbGC2WXXxJjGfu9waC+5Id4vjzL7acNVZ mjobNzYbzgWOY+GZr7dWBZKgLT+eC8spPP9XPGWIc6K3plTQzMsRqaWp0P7nHtTIQ9T9 b5N+mnrHxL71Yil1E8YwdsvEHt/bcxQQ+ZGRMDTjtPfTjJheowXBhQ7kkH3uJCySKwiy z2fg== ARC-Authentication-Results: i=1; mx.google.com; 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 l6si14793601ejd.115.2021.02.23.12.06.52; Tue, 23 Feb 2021 12:07:17 -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; 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 S232954AbhBWPJm (ORCPT + 99 others); Tue, 23 Feb 2021 10:09:42 -0500 Received: from verein.lst.de ([213.95.11.211]:34183 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232566AbhBWPJf (ORCPT ); Tue, 23 Feb 2021 10:09:35 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 5D7B868D0A; Tue, 23 Feb 2021 16:08:52 +0100 (CET) Date: Tue, 23 Feb 2021 16:08:52 +0100 From: Christoph Hellwig To: Chaitanya Kulkarni Cc: Christoph Hellwig , Jens Axboe , David Anderson , Alistair Delva , Todd Kjos , Amit Pundir , YongQin Liu , lkml , "linux-block@vger.kernel.org" Subject: Re: [REGRESSION] "split bio_kmalloc from bio_alloc_bioset" causing crash shortly after bootup Message-ID: <20210223150852.GA17662@lst.de> References: <20210223071040.GB16980@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 23, 2021 at 07:37:52AM +0000, Chaitanya Kulkarni wrote: > On 2/22/21 23:10, Christoph Hellwig wrote: > > On Tue, Feb 23, 2021 at 03:51:23AM +0000, Chaitanya Kulkarni wrote: > >> Looking at the other call sites do we need something like following ? > >> Since __blk_queue_bounce() passes the NULL for the passthru case as a > >> bio_set value ? > > Well, that is a somewhat odd calling convention. What about the patch below > > instead? That being we really need to kill this bouncing code off.. > I assume you are sending this patch, let me know otherwise. > If you do please add, looks good. I'll split the gfp_mask cleanup out, and will submit it with your as the author if that is ok. I'll need a signoff, though.