Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp270289pxb; Thu, 2 Sep 2021 03:55:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWBqb2TGr7R6MOtRTRSuIMN5z6RiriAjFlEOvpOZzA9OA0MR0ta1r44msux59BKOHCCLY1 X-Received: by 2002:a17:906:8469:: with SMTP id hx9mr3025788ejc.455.1630580116186; Thu, 02 Sep 2021 03:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630580116; cv=none; d=google.com; s=arc-20160816; b=DRx0FpIktebOHzrDCLBEKZDeUUJj12MW82uh0TfcWWVhDL0xBcEexaUKwuy0wBjAYx hPDxtCWYx47dZRxrtK1xXalKzPXJ4exNESbAEgOPw6NRBQtxAGdrpuk5lzPIZmI07AoA 3DaMZhuI53bf7GBVWWgjjZSkjBClD/7mgHLFoaDON+ozI+a36+aO1TVyDD/Bv1H/HJf8 SU4/ZSp+Tj68S0f1mkBOIPrcnv9DGTGcPNB4wAKQV4MsXy81fD5nApxwW1HowWjSwkja icQWwrWSRPRgw/o2bxRSDVahms/39ssBoQgA8j860Tz7iXz5Lt7hIH+jy8QBrqDaiE2M TtqA== 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=F1fv2G30FfWBWVsuWT6e/tsR1DF6ayJ8NIFOVop+BfA=; b=rwETpJCpAKxA/zF5H9w2To3ocvNEcgAZOsL/hxp+R2yY5+vJrH1sb4KycxAi0sKJt+ sIq91GvnlLQNWHHTONJmtudfyFfek3c5Aec3kSaEbMdeAd7mRj/KAP1P6e+o2s4lLPIN wO9pAB1Rt4+mkr3bWO3rU567NUFzuT6qAvo4qehiQrzBxgUdyDnJ962eLbEHjeDYmb72 PdtQYmnN4AY8a47ajvyh2AGwwkmphmxfkLkP5EHQJa4FFjzAnb3g09jOAOaiVU9xnRbT 8rcQZ4rRiBrDD/UT/7gxfQhlHkjZxYkN6TS8SYQHLY8JTijilfTSxqmhzAxij1gVNVwR HoJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="T5401Ox/"; 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 ar10si1331537ejc.418.2021.09.02.03.54.52; Thu, 02 Sep 2021 03:55:16 -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="T5401Ox/"; 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 S241529AbhIBKUE (ORCPT + 99 others); Thu, 2 Sep 2021 06:20:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233724AbhIBKUD (ORCPT ); Thu, 2 Sep 2021 06:20:03 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20CEDC061575 for ; Thu, 2 Sep 2021 03:19:05 -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=F1fv2G30FfWBWVsuWT6e/tsR1DF6ayJ8NIFOVop+BfA=; b=T5401Ox/yvU0e0fN0ikGZcLrNS dMoZW8ROVI2K3+T+81tmiSb9A11PmpNAx9CAwhGmjxp1G4stxe5QdVQWPTwU/vvzfb32kxZQ52sFw n8/OI8bXnfSgHWgj00vOxb0mLkGjDsUAFu0cedWHeRjxiSGNKz/MrIc/NCRe7qsnwZsri3ki8PauF 2fkJn7JuYoAAk+w8P//E8phcHdYIIhdqkG/WPbhdzStV92K6mt7UDRQ8ULLpOsyslfPSqFa5UDVzQ zyG+RcI0cUklIfHXAmh2ln1DuDYknfVJCrbEG8JXKuONZmfEKUPFG2Jj/Xui80HyCaW4ENBZ4RLKk O0WL+gLw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLjmf-003MyD-Iu; Thu, 02 Sep 2021 10:18:06 +0000 Date: Thu, 2 Sep 2021 11:17:25 +0100 From: Matthew Wilcox To: Nicholas Piggin Cc: Shijie Huang , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, song.bao.hua@hisilicon.com, torvalds@linux-foundation.org, viro@zeniv.linux.org.uk, Frank Wang Subject: Re: Is it possible to implement the per-node page cache for programs/libraries? Message-ID: References: <1630552995.2mupnzoqzs.astroid@bobo.none> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1630552995.2mupnzoqzs.astroid@bobo.none> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 02, 2021 at 01:25:36PM +1000, Nicholas Piggin wrote: > > I have been thinking about this a bit; one of our internal performance > > teams flagged the potential performance win to me a few months ago. > > I don't have a concrete design for text replication yet; there have been > > various attempts over the years, but none were particularly compelling. > > What was not compelling about it? It wasn't merged, so clearly it wasn't compelling enough? > https://lists.openwall.net/linux-kernel/2007/07/27/112 > > What are the other attempts? I found one from Dave Hansen in 2003: https://lwn.net/Articles/45082/ I think somebody else may have posted a different one, but I don't remember now.