From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2189FC433E1 for ; Sat, 22 Aug 2020 05:58:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EEAAD2072D for ; Sat, 22 Aug 2020 05:58:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Kai1wqKh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725864AbgHVF6N (ORCPT ); Sat, 22 Aug 2020 01:58:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725863AbgHVF6M (ORCPT ); Sat, 22 Aug 2020 01:58:12 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABC43C061573; Fri, 21 Aug 2020 22:58:11 -0700 (PDT) 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=PgkMyigRItiKmfFMrXOGTzeaFjxs/G5qCfNfOdXoHWU=; b=Kai1wqKhSGr4ktgDL5vdZV7QJ6 Hf7uaPruRRCbC8fD+meL0MDLYbfduUwx6NL37h+xWxR9cv3FEgqbPx4dFQ8Ue3cHb8wvcqAWZ3AAK YcUtFNi8ybk4viz6NAMlHsJDPsyodwVt2pqatjLfABIVgmDXCGV3MYmXODM/Ql+nLYL0Aresk2/IG liEyS2ydMhMf2/bYGF5sSCcrOI4rRj7FlEntQ1Y89k4KYWCunL3tzXCv07smHz/ifuaTilEbvOID/ quTPTjx6/qbaNPBoz3rshmFnSYfD/G/hSMOi0FEKFKzrxzb/fO125EczPHldNRkLXUf/oXtrCYnvN y+PlVAOg==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1k9MXL-0004W1-6m; Sat, 22 Aug 2020 05:57:55 +0000 Date: Sat, 22 Aug 2020 06:57:55 +0100 From: Christoph Hellwig To: "Matthew Wilcox (Oracle)" Cc: Yu Kuai , hch@infradead.org, darrick.wong@oracle.com, david@fromorbit.com, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, yi.zhang@huawei.com Subject: Re: [PATCH 1/3] iomap: Use kzalloc to allocate iomap_page Message-ID: <20200822055755.GA17129@infradead.org> References: <20200821124424.GQ17456@casper.infradead.org> <20200821124606.10165-1-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200821124606.10165-1-willy@infradead.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org On Fri, Aug 21, 2020 at 01:46:04PM +0100, Matthew Wilcox (Oracle) wrote: > We can skip most of the initialisation, although spinlocks still > need explicit initialisation as architectures may use a non-zero > value to indicate unlocked. The comment is no longer useful as > attach_page_private() handles the refcount now. > > Signed-off-by: Matthew Wilcox (Oracle) Looks good, Reviewed-by: Christoph Hellwig