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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 1C9FDC432BE for ; Thu, 2 Sep 2021 10:19:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F2CD3600AA for ; Thu, 2 Sep 2021 10:19:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242458AbhIBKUF (ORCPT ); Thu, 2 Sep 2021 06:20:05 -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.