Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4439344pxv; Tue, 20 Jul 2021 03:56:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNuV30dFgEDmjmLTu8ojd5ybDuE5jLkWxVjd/ByK+05tCSc1cOTFC5yAGKGYw4fzcnlrvh X-Received: by 2002:a17:906:4a8d:: with SMTP id x13mr31970577eju.349.1626778604168; Tue, 20 Jul 2021 03:56:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626778604; cv=none; d=google.com; s=arc-20160816; b=ieATf0L9yinz8w5kbQYAykxRHQq4Sm/67Bh/x3GEaOdZkE3SpY2CPmiGvINQiRtyG0 XXrTrFqz/MhTE02N6ZaiNlDvy114BNcN4PsvkuTzSR9Zf8jbF2ySyF2R4fjnUy/bF/5G l56CWuKnTZpqb2Gm9EbCEMx7yLq0qtQiZnYT8PvOHT/s7HzelK2opNmolN6CQkeufSlR ekzgXEarJo/nIFw46hqtgZVYSaFT3Vb3kHacziIcXs2AqugZq44coCcL7/qWFfbkHXGv laZAZL0A7Yi4O245lHVaH1jo8YY0OgOt84Ltf0RR2Ul+64Djt2C096sKqhiXNjSYSxQR Z8NQ== 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=dIVYBjGZ0bBKRNGMLVQDOjisjDxNfB+9YFRaz4emVXs=; b=Q0yOiqDD765QzkCrm//s6n21QmspnBHOzQPNI34KoKba5wvgJ13Z0cyQp4cs/ewfP2 FjEe1XqsPOY741epoqUANjfdMu7rjYel5mYL1sBYjF0nBYGV4jifrgg24qvExeGOU5Zf sItfqRqscy2o2gyBcpAdQlHFSOzB4Eb948vIwrrZ4blB110g/jqGSurt0FrmaCmBfgLS u4mDXYzgy0RSmohsY2mxKU9dd0/RtB149Jv82qX5KV9ZRSsjoVdzO5oFJam0Cy13Fu8J G8kIew41id4gz+XQljsWTtH6237fm7SMpJuhKJKCg12u0V1wN1gSURpt232u5Hz+IvDn 28FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=scKyHutT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x41si22790168edy.469.2021.07.20.03.56.21; Tue, 20 Jul 2021 03:56:44 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=scKyHutT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237937AbhGTKOV (ORCPT + 99 others); Tue, 20 Jul 2021 06:14:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:34950 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235694AbhGTKFC (ORCPT ); Tue, 20 Jul 2021 06:05:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 93A0061209; Tue, 20 Jul 2021 10:45:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626777940; bh=EieI+NBJp4KDfpZlZkluxdvrsQhkDMDzUVdjQyEaG8g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=scKyHutTZ3/n0QxRc31q/2A5aLiE74ooNoftRlGLUMix5k2liV/DAk3v9EHvp8iu5 yF9uxxcFvV7m3LI+vYyTvBXYknv40MYpjKaoBX6gg1g/Hq0a4fW/AQUuixztI/AbL3 VSOjNmcKxVsntUUsw8wSmuqE3AVTMYjx3riNuWklWs9zUnOvKROAcKYsa99RZ1K2/j pUuGfVmyXDQtZwS6+LIecoZyGgfA62uod+R7/79261f7PApyZ3lkNDEjvG4isV3DH+ hXW60sRrthU/lkqudmFXdzOIZUlwd4LBnZBXaZMAVfCjREEx40GWJcL+yAOnMNrHfY bn+iaoXl/oblQ== Date: Tue, 20 Jul 2021 13:45:33 +0300 From: Mike Rapoport To: "Matthew Wilcox (Oracle)" Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig , Jeff Layton , "Kirill A . Shutemov" , Vlastimil Babka , William Kucharski , David Howells Subject: Re: [PATCH v14 021/138] mm/filemap: Add folio_wait_locked() Message-ID: References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-22-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210715033704.692967-22-willy@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 15, 2021 at 04:35:07AM +0100, Matthew Wilcox (Oracle) wrote: > Also add folio_wait_locked_killable(). Turn wait_on_page_locked() and > wait_on_page_locked_killable() into wrappers. This eliminates a call > to compound_head() from each call-site, reducing text size by 193 bytes > for me. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig > Acked-by: Jeff Layton > Acked-by: Kirill A. Shutemov > Acked-by: Vlastimil Babka > Reviewed-by: William Kucharski > Reviewed-by: David Howells > --- > include/linux/pagemap.h | 26 ++++++++++++++++++-------- > mm/filemap.c | 4 ++-- > 2 files changed, 20 insertions(+), 10 deletions(-) Acked-by: Mike Rapoport