Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1742220pxb; Wed, 20 Oct 2021 10:49:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtbZdBHbw8Gk/2+pjeyOz/cSLhHGcG0uPld2FE5q43942Ta7kdePlyS9vW3l/L5ryO6wbN X-Received: by 2002:a17:907:6e2a:: with SMTP id sd42mr853942ejc.333.1634752151923; Wed, 20 Oct 2021 10:49:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634752151; cv=none; d=google.com; s=arc-20160816; b=s58xUan48LWb49Z1KXyhlZLiFVJoxa1XEskifjxy+OzxHKuqHgCIQ9RazVt2brd+O2 UrRpIbwYGXOSyNtxz917hwCKgmFNtXx/5ZCjsvwL+OxBy4RNoMX33b40m2jHZILkdX5F 1OEQOLYuiG9oULj6muNMB05ZVmL5i1mk/euyQ9ofoES6dCv22wvhJEBz3yyDP9sURGkB 5nbn2D3P9KDfHogj4xNreUqjxD7sg0tdm5H/s4o5QWPqgdjLy2v0cntnUwGmxAbgCZ5c YmG5ArO+U8Vq8VsRHzoLorTvD9MWOVDCXqhHBqZf5vritVOIQgafN7/kQiGlGQlKK/0B UGfA== 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:to:from:date:dkim-signature; bh=0QHGLrhaXKpKpvs2TLQ73EmV4pXkj4boxSmu6rBcYBI=; b=I6ihLUePlHPA9wTUxBi/ggbG6EQnPQXUUjugafGUVnxSpvcSXX7M+5KgtSHX/0qoim nnAZBYkhXHs1UnGvUWmdspKIUuW58OBErgZX8iso3mvAQeYF3f29zz2eox4d5b2tAAao /4tthUVrfC44fWFo5EM1ELq0I72ZlIT55IepAAOKKX8FezLPTtegdp5vTFSofTUKp71k UuVaZxAkuDkCbgaEiM7+1tBtTqTprYpL/H5JfI96JcSdSDAmuDhwYlFTfNDGNK1Zl73q 1dxMhTpKF+EHvFXFKvmI8QfXSrwibNjvV/C7qln+g26XMQ5KTV7wImN86q+o0LKMUNup URCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=QC2enIqb; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b21si3731466edx.367.2021.10.20.10.48.46; Wed, 20 Oct 2021 10:49:11 -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=@gmail.com header.s=20210112 header.b=QC2enIqb; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230395AbhJTRtO (ORCPT + 99 others); Wed, 20 Oct 2021 13:49:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231232AbhJTRs5 (ORCPT ); Wed, 20 Oct 2021 13:48:57 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BBB8C061770; Wed, 20 Oct 2021 10:46:28 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id t16so3757467qto.5; Wed, 20 Oct 2021 10:46:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=0QHGLrhaXKpKpvs2TLQ73EmV4pXkj4boxSmu6rBcYBI=; b=QC2enIqbJU5zyGxfY2qJ+RKsttNvVlJw5ESsHPsKytBXHbft+70CDnDsgh+ktV9nVS Ts3CB7N1bU+AWe+OoT1iNM1fQ7/Qz03jgjrlfO6mTCuZabvAu2CTXBiv0diXxQVvVGVk tDHB0EB6JbKCWxoyYxuB9QQyvD6xB1Qi2j7kE9xm7LZ17SgKzSbWEMakcDG4qMGJPnOv hBD3LuP4H/LBxZUatwQPeZrFAdGd5Xptq6oi41LeQvkwpetKYmVpWDMnscZlq02PvGan not7BsHZ+nPN45uw0swS3CzZwxDbqsaoG6TG8P7RztE2ss7m9HtkojuZWMZ1xdmpGkv7 Ii3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=0QHGLrhaXKpKpvs2TLQ73EmV4pXkj4boxSmu6rBcYBI=; b=ELs0JIGH2+W1KtTBmvQPCrF4rfWnz3nsHKeEn5X1Pvbd/lTwUpDKhIjEzEMfScxyvw lYc9u7Bb93pSwZvnPgXhSEwLOBLN3Nai9RQrNmbOvaQpuQB1MLcATm0zIcuhg7XMoyuK HyA2IZFSmV08Bu8fJOuZ4dDbSgA3+cLbWbmr6xsrmr24VLDl0wVofbtEZ+RdJfjtTKCr c+NJfjge862wR+btatV/qgK0QZIgOqe37Sskc/kj+jcSkdSkopKREi8ldNOXo73K7RPd O4tuqe8nMRU7CRpiIc+4V7VvL6+GVdB85ND+19HilOAYbspD3P2gypeDt4/6PCalzhxu lkLw== X-Gm-Message-State: AOAM531Qwk/vxNTpA6jfKC5THviR4MVNlWhy+Y4FioF2gt9lYXQToQw1 td/hbYVirw6ytEcUSG22Hw== X-Received: by 2002:ac8:7458:: with SMTP id h24mr550357qtr.355.1634751987832; Wed, 20 Oct 2021 10:46:27 -0700 (PDT) Received: from moria.home.lan (c-73-219-103-14.hsd1.vt.comcast.net. [73.219.103.14]) by smtp.gmail.com with ESMTPSA id j184sm1326545qkd.74.2021.10.20.10.46.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Oct 2021 10:46:27 -0700 (PDT) Date: Wed, 20 Oct 2021 13:46:25 -0400 From: Kent Overstreet To: Matthew Wilcox , Johannes Weiner , Linus Torvalds , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , "Darrick J. Wong" , Christoph Hellwig , David Howells Subject: Re: Splitting struct page into multiple types - Was: re: Folio discussion recap - Message-ID: References: <20211019170603.GA15424@hsiangkao-HP-ZHAN-66-Pro-G1> <20211019175419.GA22532@hsiangkao-HP-ZHAN-66-Pro-G1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211019175419.GA22532@hsiangkao-HP-ZHAN-66-Pro-G1> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 20, 2021 at 01:54:20AM +0800, Gao Xiang wrote: > On Tue, Oct 19, 2021 at 06:34:19PM +0100, Matthew Wilcox wrote: > > It looks like this will be quite a large change to how erofs handles > > compressed blocks, but if you're open to taking this on, I'd be very happy. > > For ->lru, it's quite small, but it sacrifices the performance. Yet I'm > very glad to do if some decision of this ->lru field is determined. I would be very appreciative if you were willing to do the work, and I know others would be too. These kinds of cleanups may seem small individually, but they make a _very_ real difference when we're looking kernel-wide at how possible these struct page changes may be - and even if they don't happen, it really helps understandability of the code if we can move towards a single struct field always being used for a single purpose in our core data types.