Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp411544pxm; Wed, 2 Mar 2022 00:39:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJyP7tTdtTnIAmmSz+S0Xi9Rxjql/JXNaxc0QkNZ95M94Nl5n593q/9FA5tK/2CgjKRSPuR9 X-Received: by 2002:a17:906:bf1:b0:6cd:186:9ffa with SMTP id z17-20020a1709060bf100b006cd01869ffamr21678163ejg.506.1646210374358; Wed, 02 Mar 2022 00:39:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646210374; cv=none; d=google.com; s=arc-20160816; b=qYx0hCY3LVM7r8TSvLpgFvd/EssuGZqVkXpI5Db5+GK5HWf5Zns1K0TvtCmvutv10d zN644I0tFFE/PHFlLn5o14BKA+eBUqUyVoVo8vlVif+eSBu1SOLpXsNX5ztMQ8FxXXrQ ahZntb66tWxNfKJH06DVKKSPNpFOqj0n7pNNzlQHnysc8R72kzpVMjvFoeO1+JfdGCvK wfqhfZKllLmwwUd5xIe0U1H8NSShcF8wyrrvL6tpe+ECWDNzxjH2Pz83NpSCHzIdw2e+ 1mYN787L0X5sLPdimtqIbQmK5STCiLF6MGq0y49wbzbZDAWJtqRZyFKpvFgeEAHH9uhT dPrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=5e1vjeb9nGk+rtGmq1GIECSPBIYbQohALkglginrKPE=; b=nsnaS65Xpa41vylL3AlxnuvkvUBZ0F+j8gsu53qOi8xDflbMrBlWmU/u+UEpU4/t1k YhWyTQkLtR+qsPYMAPEVJbcqZw5c9VRczdRFN/5Q5yYvOpgwlbWMOT000Axg4gHNEsUe Jr6nkkBdSGa8kZIq+IPdzP69K9kwIfb7dn452g7xvQOElWk8vi76A1L28OpSrnFxCDvz hsgvxUtBC7lCx6Mj9pWCC5xaA6j+XPXzj8z7o4D5jhZ5UhOK8NCEA9WZsStwE4WpMqCT 2k2Cuh7z10B51kf1oNXYaD4v5HJP/Jwh2p+Ry042i/9b92uL7+MIRbwzbyKd5XaF2+ab C7nQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc7-20020a170907168700b006d70bc6aecasi2316768ejc.211.2022.03.02.00.39.11; Wed, 02 Mar 2022 00:39:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239152AbiCBDE4 (ORCPT + 99 others); Tue, 1 Mar 2022 22:04:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237752AbiCBDEz (ORCPT ); Tue, 1 Mar 2022 22:04:55 -0500 X-Greylist: delayed 165 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 01 Mar 2022 19:04:11 PST Received: from p3plwbeout14-03.prod.phx3.secureserver.net (p3plsmtp14-03-2.prod.phx3.secureserver.net [173.201.192.186]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 678825F8C8 for ; Tue, 1 Mar 2022 19:04:11 -0800 (PST) Received: from mailex.mailcore.me ([94.136.40.143]) by :WBEOUT: with ESMTP id PFEynUFeZaiS1PFEznipag; Tue, 01 Mar 2022 20:01:25 -0700 X-CMAE-Analysis: v=2.4 cv=S5IcfKgP c=1 sm=1 tr=0 ts=621ede05 a=EhJYbXVJKsomWlz4CTV+qA==:117 a=84ok6UeoqCVsigPHarzEiQ==:17 a=ggZhUymU-5wA:10 a=IkcTkHD0fZMA:10 a=o8Y5sQTvuykA:10 a=FXvPX3liAAAA:8 a=lFWsI9-O6uv9ryMHa3YA:9 a=QEXdDO2ut3YA:10 a=SM4aVyO6fsoA:10 a=OunuuIp3J4_2X_e7vt2U:22 a=fDQtvUcBV1mJc6yKnRhE:22 a=UObqyxdv-6Yh2QiB9mM_:22 X-SECURESERVER-ACCT: phillip@squashfs.org.uk X-SID: PFEynUFeZaiS1 Received: from 82-69-79-175.dsl.in-addr.zen.co.uk ([82.69.79.175] helo=[192.168.178.33]) by smtp11.mailcore.me with esmtpa (Exim 4.94.2) (envelope-from ) id 1nPFEy-0008Mw-0N; Wed, 02 Mar 2022 03:01:24 +0000 Message-ID: Date: Wed, 2 Mar 2022 03:01:20 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 2/5] squashfs: always use bio_kmalloc in squashfs_bio_read To: Christoph Hellwig , Jens Axboe Cc: Coly Li , Mike Snitzer , Song Liu , "Martin K. Petersen" , Josef Bacik , David Sterba , linux-block@vger.kernel.org, dm-devel@redhat.com, linux-kernel@vger.kernel.org, linux-bcache@vger.kernel.org, linux-raid@vger.kernel.org, target-devel@vger.kernel.org, linux-btrfs@vger.kernel.org References: <20220301084552.880256-1-hch@lst.de> <20220301084552.880256-3-hch@lst.de> From: Phillip Lougher In-Reply-To: <20220301084552.880256-3-hch@lst.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailcore-Auth: 439999529 X-Mailcore-Domain: 1394945 X-123-reg-Authenticated: phillip@squashfs.org.uk X-Originating-IP: 82.69.79.175 X-CMAE-Envelope: MS4xfHA15PIyjdR5iTk1wfyauAGvvwR1FQA8RssOiryNNCUPQZz/f93gAJQ8EujDnmpN/9ex+lfY50wtngf5jB9eN27hRXhFGh5nqo965r1ydq0jtG0J/yXp qBcU3uXnQokNEtnVuXHuk5PtH+n/yfbcSRPUzPs1hnBKYHaYUvzduQIgVIHqoEtu71MF4dgJ9YNyx86SbfsFduAl4fKtbazNEv/wNHpRv+AmD9k8B0FFzcIj i31xaftoFk2zCMwodXvJ+g== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/03/2022 08:45, Christoph Hellwig wrote: > If a plain kmalloc that is not backed by a mempool is safe here for a > large read (and the actual page allocations), it must also be for a > small one, so simplify the code a bit. > > Signed-off-by: Christoph Hellwig Acked-by: Phillip Lougher