Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3918811pxt; Tue, 10 Aug 2021 14:48:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMcaew+DKaGRVivSik4wW46ZYb5KX0gze3aZ5AKW2qoBAflJ9oOINkZs57rq3BplSItPc6 X-Received: by 2002:a50:ec0a:: with SMTP id g10mr7333826edr.125.1628632085710; Tue, 10 Aug 2021 14:48:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628632085; cv=none; d=google.com; s=arc-20160816; b=QNpILYIgzFxloNgpKJiDPjLe+LMUs/BWJTGxwnixIzbEIk4XZkxhaRD4qkqllNhFpy Zf0/2nozMvdKZ/EezxRxHZx2h0eWVey36Vqd3mlLF2LLAq0irdrDNPRhmA0Q49sQq/2x mYvfRI59JglFKk2JDl6x0ehGeQxEE92bcxQqe3CkJ52AOo8d7Km6DtLTKVTMKlkkg6Ye 3J1lEca6ZYI+BDFmlPaktk2MWF2lMOPVg3qANFcGSUJDSTPTMHvxHAkn2l8i49t8vsxH 2Fs6tcjXcglAQpsaQ2lS2CsDB00fG8/uj5HdQWv0/5XOVneeF8kGJP4z+8G/IQnt3k/v OXYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:subject :cc:to:references:in-reply-to:from:organization:dkim-signature; bh=W5aEPW0vVy1f3yTR/vbVxRNZoiXDLOWVh/Qz0zOsQjE=; b=QiOLEY5qMKBSvvh10K2r3Z/US1w/c1slZ6dhdyMOBQlYybCQ8vLXcFQVQfvt3DMJEK fANHTWmm0Km+Ids6Ch0d/1aBDob1kvR5wZH5SdEs2M4vlXNP5O4xIzJ/IJFNSlFBFWyU Wz0JOl4Tfrx2LmvtCGcH/rNYpr2V33qOziKHlNWQ57Aeq0xY3x/mE3db/dH/Hj0AkD4n 3q67lrcznHhUzFrUwfsLkzHiPAAKrlRpqehsfVfyQIEPl06Kw/rHZLy9lNpOQ8EUDd1j JJht8ci0YZFdRscQadR1zPKtrjy8B3Decj1hW6kQYDCQIntcMhtk0C0uIV12D43x1dtp XAOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=X4Gzgx5N; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si22081774ejb.601.2021.08.10.14.47.42; Tue, 10 Aug 2021 14:48:05 -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=@redhat.com header.s=mimecast20190719 header.b=X4Gzgx5N; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234830AbhHJVqS (ORCPT + 99 others); Tue, 10 Aug 2021 17:46:18 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:58501 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234103AbhHJVqS (ORCPT ); Tue, 10 Aug 2021 17:46:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628631954; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=W5aEPW0vVy1f3yTR/vbVxRNZoiXDLOWVh/Qz0zOsQjE=; b=X4Gzgx5N6nAKsYyi6O3ri8NQEqqnrTmtsCCSrNLEvTn8mPnIuQDYDdaLLdn+kIkoX39vWN TCHsJcxNE1MGD/LfCeTlkmS1Gy3C9Lgc/Mi667p/KS1k1egFOdui/glRYYsBRb25ol83L0 ZN3aBDieE88SFM/NMGIgs8EYQOar+4c= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-370-0cNJ5zi3PNy-F2A2lDvuWg-1; Tue, 10 Aug 2021 17:45:53 -0400 X-MC-Unique: 0cNJ5zi3PNy-F2A2lDvuWg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 94CBF106B6A2; Tue, 10 Aug 2021 21:45:52 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.22.32.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7405D1B472; Tue, 10 Aug 2021 21:45:51 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20210715033704.692967-84-willy@infradead.org> References: <20210715033704.692967-84-willy@infradead.org> <20210715033704.692967-1-willy@infradead.org> To: "Matthew Wilcox (Oracle)" Cc: dhowells@redhat.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH v14 083/138] mm/lru: Add folio_add_lru() MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1814288.1628631950.1@warthog.procyon.org.uk> Date: Tue, 10 Aug 2021 22:45:50 +0100 Message-ID: <1814289.1628631950@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Matthew Wilcox (Oracle) wrote: > Reimplement lru_cache_add() as a wrapper around folio_add_lru(). > Saves 159 bytes of kernel text due to removing calls to compound_head(). > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig Reviewed-by: David Howells