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=-2.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 53D7AC433F5 for ; Fri, 3 Sep 2021 07:10:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DB4C961058 for ; Fri, 3 Sep 2021 07:10:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DB4C961058 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 63646900002; Fri, 3 Sep 2021 03:10:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5E6128D0001; Fri, 3 Sep 2021 03:10:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4D5E2900002; Fri, 3 Sep 2021 03:10:39 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0125.hostedemail.com [216.40.44.125]) by kanga.kvack.org (Postfix) with ESMTP id 405378D0001 for ; Fri, 3 Sep 2021 03:10:39 -0400 (EDT) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 00E5E1846CAA8 for ; Fri, 3 Sep 2021 07:10:39 +0000 (UTC) X-FDA: 78545389398.07.91B1B1B Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by imf28.hostedemail.com (Postfix) with ESMTP id B91DA900009A for ; Fri, 3 Sep 2021 07:10:38 +0000 (UTC) Received: by mail-pl1-f175.google.com with SMTP id d17so2756513plr.12 for ; Fri, 03 Sep 2021 00:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:subject:to:cc:references:in-reply-to:mime-version :message-id:content-transfer-encoding; bh=drsU+WoGtlf+/Dd29/0dqw0JzgOHZQQiry+kGpJL/Q4=; b=ZSS7U+lPr0tsaess+Z83IBOEIgUt1JH6KiGFsnOv1wxzqat4I7F+z2LsUmLkEuM3U6 ERT+ZWUzIID6UbvJjYmERlpaBYUmJAC0JThTkyOLaR2t1nnavnZMZ6NH4+fUCyZPVTbb IvQWin/dFvgH/Buht42Sh7YY/3p6OZHz3Dw+tbA4cKYVY9aFmr/mzsFOAC6OJ0DUWqf9 XBLNBKb6b/nWDbKg/GPDhrOyUVQtfKyl3g0V8LrcFK63fFCXB81sydlv2DSk7+PwN1mN +jfQ6d2Gsz35ItnFAO5FSqGSDhLE1hXO6tshZ81BJEy6rsFjoTzkq0PUdbcaAKDZ7J41 Jhrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:cc:references:in-reply-to :mime-version:message-id:content-transfer-encoding; bh=drsU+WoGtlf+/Dd29/0dqw0JzgOHZQQiry+kGpJL/Q4=; b=jhS06Ddy2HtNRb/3ShB/KR0jl8L5Ds2qvEbD+pClECBYLtUHQoSyuVgNjpgUeNsbyX kOThZ+E68sGKYauXTORHgiC0qqghxekrNgmOyJf1EolhTjUWNoQdLFFJ9aJf4EjxYdEx XAsuLazY1ym/7T1FKV3Rjt4xOOIaCZ48UwpizjEcolWHswL30w7u+z3522TvYvYMwfPL TE9orGlivDCsRVC5n9v1Kdiv0dqWPcZONlsJA61feJf2ES0fLPRsZ8RGiG8HgHIGkt2G eKLepFpL188FeGDfTfwuX8ZUBbrqvnfG5EAbnvsMwpG6RBC6hLuqUZHAX0nP+rT7wWOR U+Yw== X-Gm-Message-State: AOAM530BGvcZsU+p8XsRdPFuIINSvQ8D3ySIVP0NgMZICk9U289FzkQ8 8ahESBD8Ree/1yILh5RF2no= X-Google-Smtp-Source: ABdhPJz1Ozt++aT/2k7QOaw82sAobkvtp4TBpLeIorle7XjvtPUBy2oJjILJaqSYE5Mvdx1OOyiuOw== X-Received: by 2002:a17:902:7e4a:b0:139:fb91:a69a with SMTP id a10-20020a1709027e4a00b00139fb91a69amr1817128pln.28.1630653037707; Fri, 03 Sep 2021 00:10:37 -0700 (PDT) Received: from localhost (203-219-56-12.tpgi.com.au. [203.219.56.12]) by smtp.gmail.com with ESMTPSA id g2sm4190713pfr.35.2021.09.03.00.10.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Sep 2021 00:10:37 -0700 (PDT) Date: Fri, 03 Sep 2021 17:10:31 +1000 From: Nicholas Piggin Subject: Re: Is it possible to implement the per-node page cache for programs/libraries? To: Matthew Wilcox Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Shijie Huang , song.bao.hua@hisilicon.com, torvalds@linux-foundation.org, viro@zeniv.linux.org.uk, Frank Wang References: <1630552995.2mupnzoqzs.astroid@bobo.none> In-Reply-To: MIME-Version: 1.0 Message-Id: <1630652670.aplcvu6g23.astroid@bobo.none> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: B91DA900009A Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZSS7U+lP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf28.hostedemail.com: domain of npiggin@gmail.com designates 209.85.214.175 as permitted sender) smtp.mailfrom=npiggin@gmail.com X-Rspamd-Server: rspam01 X-Stat-Signature: sozpn6e89jnr4a5mjqm7yj9wiyr6fp31 X-HE-Tag: 1630653038-769279 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000003, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Excerpts from Matthew Wilcox's message of September 2, 2021 8:17 pm: > 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 be= en >> > various attempts over the years, but none were particularly compelling= . >>=20 >> What was not compelling about it? >=20 > It wasn't merged, so clearly it wasn't compelling enough? Ha ha. It sounded like you had some reasons you didn't find it=20 particularly compelling :P >=20 >> https://lists.openwall.net/linux-kernel/2007/07/27/112 >>=20 >> What are the other attempts? >=20 > I found one from Dave Hansen in 2003: >=20 > https://lwn.net/Articles/45082/ >=20 Huh interesting. I'd be surprised if I didn't see it go by at the time. Thanks, Nick