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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 84B80C43460 for ; Tue, 18 May 2021 13:56:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6DC306117A for ; Tue, 18 May 2021 13:56:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343931AbhERN6I (ORCPT ); Tue, 18 May 2021 09:58:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244711AbhERN6G (ORCPT ); Tue, 18 May 2021 09:58:06 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00136C061573; Tue, 18 May 2021 06:56:48 -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=s36KeDCQTjjdbNaJPGBotFdZABcZ6K5ODWo6m4Tm+Tk=; b=GqjuVupZZdr7ohq92vjExxWC+g KjLHczLGtrzn+kflb9uaLoM58CsWOaU3r7Cx0z2WF6g6sEbXwdRMoYmqwifZW78vP/4lDjS+ECaLR Dzu25YK8li9B3wL9Se6+DF+yIeajG9fEz9oJyjDPVs4mj7tRQZx4+8iaEJlgHhvFM6LBlh9TQCwMm dYMEgmU5O/ZFrjzBw2orErotQStBgt6pdPxwu0TnxEZi5fnBiI//9W6rKbrUe3U+DsakXXYUP0E+1 l64I2NE9EinIchynh3B85IqlbRungbuGsGaYTe+xMsmTyoWPlHFOBkQ/6itoeELUSGFrNjncNtKJ5 eEeTIijA==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lj0Bu-00E28c-OY; Tue, 18 May 2021 13:56:05 +0000 Date: Tue, 18 May 2021 14:55:22 +0100 From: Matthew Wilcox To: Vlastimil Babka Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Jeff Layton Subject: Re: [PATCH v10 27/33] mm/writeback: Add folio_wait_stable Message-ID: References: <20210511214735.1836149-1-willy@infradead.org> <20210511214735.1836149-28-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 18, 2021 at 01:42:04PM +0200, Vlastimil Babka wrote: > On 5/11/21 11:47 PM, Matthew Wilcox (Oracle) wrote: > > Move wait_for_stable_page() into the folio compatibility file. > > folio_wait_stable() avoids a call to compound_head() and is 14 bytes > > smaller than wait_for_stable_page() was. The net text size grows by 24 > > bytes as a result of this patch. > > > > Signed-off-by: Matthew Wilcox (Oracle) > > Reviewed-by: Christoph Hellwig > > Acked-by: Jeff Layton > > Acked-by: Vlastimil Babka > > This seems to remove last user of thp_head(). Remove it as obsolete? Good catch! I'll squash that in. We're down to just one user of thp_order in my tree ...