Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp289673pxb; Tue, 31 Aug 2021 22:00:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1UYZEnaE+CIaQHcCPdDgn4A8om/7Cj5rjAo/zushCycL6nzBBgjUILHq37AOUPHhrDOql X-Received: by 2002:a50:e699:: with SMTP id z25mr33105860edm.130.1630472431338; Tue, 31 Aug 2021 22:00:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630472431; cv=none; d=google.com; s=arc-20160816; b=re+HHt8daV7a182EN6UK7UAhC+v0pzI3EBJxT8lufXI5uqPHFClOzqAfJ6T+HwGvY2 bCMiRuYCIRg5YFft9sU1PW9O3q4GQuO1pvymEsd1nAtiUASfe28tx8tLZtXb97tk2aC7 Dz5hpFEBOt83hwHVwsbtoqzXC7Jwy88Xeuz19N63AHCRm/xpf8D1ukBRhpI7uorIb3dv hMydtpSGWVru6X89gSVuqWul/XTfTwXMKa3t9Wj0SoL8+sgQuhyIeZfhc9SOhp2xPRFT vfQQ4K3WegUoPLraiyeYdY34K1B/yhe8L+YOrjZqGP8Cjxi3KUPCjZc6kR826S+aSiu7 6ECw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=PiBkdqlZHfJR7wsTErva7fxWhpSbMIskb+iADySutZE=; b=nr/kncFQ699MjsSyn4aiuPuh2M8L1jjWKEiqzKwXYT9DrE4D+yqtRekchKfqtpb8tw DL6QlJaq88WHNMV1YOU29LfWeFZG1Pe6LpqXaj3HBJa+zlMqAT8NMjC56TyQg1uFpIlb 0cJKBQ5E9Uy1DuEXLHGipHAFmdXhaM7ptPB77tIuLWhwvvgPEax8cbh4X+/m9DbK9fqE osZbMUI+7D7fMQP5tgXZet1cJy34+IKpGdJxKEKHT4OmEXYrP0PX4hdwpA7dISzKwx/r s3isMrLfyAlt4ZQ7zCvcPzq+U2z4gDLhK0Fmf89xlT6db7hEKPXsXW11vgnrb8oE+IHK XAdw== ARC-Authentication-Results: i=1; mx.google.com; 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 cb20si19455178edb.577.2021.08.31.21.59.25; Tue, 31 Aug 2021 22:00:31 -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; 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 S241791AbhIAE61 (ORCPT + 99 others); Wed, 1 Sep 2021 00:58:27 -0400 Received: from zeniv-ca.linux.org.uk ([142.44.231.140]:45982 "EHLO zeniv-ca.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230483AbhIAE60 (ORCPT ); Wed, 1 Sep 2021 00:58:26 -0400 Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLIH7-00092F-SR; Wed, 01 Sep 2021 04:55:02 +0000 Date: Wed, 1 Sep 2021 04:55:01 +0000 From: Al Viro To: Shijie Huang Cc: torvalds@linux-foundation.org, akpm@linux-foundation.org, linux-mm@kvack.org, song.bao.hua@hisilicon.com, linux-kernel@vger.kernel.org, Frank Wang Subject: Re: Is it possible to implement the per-node page cache for programs/libraries? Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 01, 2021 at 11:07:41AM +0800, Shijie Huang wrote: > Hi Everyone, > > ??? In the NUMA, we only have one page cache for each file. For the > program/shared libraries, the > > remote-access delays longer then the? local-access. > > So, is it possible to implement the per-node page cache for > programs/libraries? What do you mean, per-node page cache? Multiple pages for the same area of file? That'd be bloody awful on coherency...