Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1405962pxb; Mon, 11 Oct 2021 05:27:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJ1kqIAoOUYD5fFurfL6Nb8X8u6mTtFiPwunsoXUqnXTIEHir5ARRngv2QEy+MblmntDbL X-Received: by 2002:aa7:d1c2:: with SMTP id g2mr40172082edp.248.1633955275000; Mon, 11 Oct 2021 05:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633955274; cv=none; d=google.com; s=arc-20160816; b=FHDBh2CXctlYxL/cnEHJwMhMfGXqG7gE7Ee5LBcS9B5yKhSyg/CZumaon2ZF+/gPUj YBgk8TCjEmSpcKYdJ+Vt2yIJuSNEyY3D9rppmem0dCLPrpNneWtvHq1+2MDilbRNfnXt Q3/oa+26GIWhcsLWjY1XOnqOoVMI2qpSVeqrj4nn1ReQdb7RQKVCg8lrE71KYqvL4kCO RokG04L5V95knPDhpW4jjJKSueqeLTmJpLuxGl78KGUjY6O9fbAEbrKPVifURzldggv0 wDdBicGZyaY9WmcVFQg6hJOPLyviD8PS6TTzSB8obr7FKdhKqB2noFjiEr7uG3cARdHC GZAA== 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=BP6eUUSbwOPyI0isq5d0FBMejsSUlafct4Eau4uM694=; b=dfAa6LB/N1u8WYmmpFSkRWTEYgH81nNJN/YUMGeYFe0nKFVx+Pk6id3c6VAwO5wDjU aWdclm383bRS7w0jozbnvmdLxoKpMGjwyAjUjxRVXsJLdUK8UQvfKNQM+8YlEYmCxFSA 1rxZgZ+6qEfyzIn546thAmYBjGJeLugmn853umy6Fb10MVDD+Hr17UsvZ3M4iihu9lxf JzUZiPZtWk4JcQ/E7px4m+8e/fwx9McKqNvmomxpvD+iRbpCQFk59mub/Um2W7ll8phC 1zTXUHnCDc3DdwlP+ftjzgtidYRy19pYNtgmmnns+ljdTdrEWXB+rN51hJ68LhIcxnIF 1LoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=T5vi3b5c; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lj16si7549868ejb.334.2021.10.11.05.27.31; Mon, 11 Oct 2021 05:27:54 -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=@infradead.org header.s=casper.20170209 header.b=T5vi3b5c; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234844AbhJKINF (ORCPT + 99 others); Mon, 11 Oct 2021 04:13:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231300AbhJKINC (ORCPT ); Mon, 11 Oct 2021 04:13:02 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60694C061570; Mon, 11 Oct 2021 01:11:02 -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=BP6eUUSbwOPyI0isq5d0FBMejsSUlafct4Eau4uM694=; b=T5vi3b5cptNd4ihDGlBPfewoN7 h/4t06vMAohvryQxbg832POhVNwqZ/TGil5obb01pmk6XbWTEhiK2BVad03JhiIXWaE7FDKwgVsnl DTErtvgpUaX/hTJwlsdojEdygH3HEcwqGePGkySsiaM3SEuTK3n4VR5wqfi8qlIexndYXcjoRUW0P 3Cr97Wv3wI1etYtnIFjAy+AWxSAbNB0VNC+/cGvZBttY8LgpwVDNDCcv1Seq94brD8VN85Z+Ilvlv kfubtjyeHEE3Jpx9K/kzQCvNgGimYp0zayRcWY65W47ghvx40zQ9ymrbw3QqnY6rqrseynrXLciqB eXbvxLrA==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mZqKT-005M08-MP; Mon, 11 Oct 2021 08:07:48 +0000 Date: Mon, 11 Oct 2021 09:06:37 +0100 From: Christoph Hellwig To: Rongwei Wang Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, akpm@linux-foundation.org, willy@infradead.org, viro@zeniv.linux.org.uk, song@kernel.org, william.kucharski@oracle.com, hughd@google.com, shy828301@gmail.com, linmiaohe@huawei.com, peterx@redhat.com Subject: Re: [PATCH 0/3] mm, thp: introduce a new sysfs interface to facilitate file THP for .text Message-ID: References: <20211009092658.59665-1-rongwei.wang@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211009092658.59665-1-rongwei.wang@linux.alibaba.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Can we please just get proper pagecache THP (through folios) merged instead of piling hacks over hacks here? The whole readonly THP already was more than painful enough due to all the hacks involved.