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.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham 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 70908C43218 for ; Thu, 25 Apr 2019 17:28:21 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 18A66206BF for ; Thu, 25 Apr 2019 17:28:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kroah.com header.i=@kroah.com header.b="ZYiCo+bB"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="ODp7zUJl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 18A66206BF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1hJiAC-0002I4-Fl; Thu, 25 Apr 2019 13:28:00 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1hJiA9-0002Hu-Pb for kernelnewbies@kernelnewbies.org; Thu, 25 Apr 2019 13:27:58 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id CE71084F; Thu, 25 Apr 2019 13:27:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 25 Apr 2019 13:27:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=eBHfxk5d7b5AbxG9542PLCU4Z// oO42nsfIxDbGPfJc=; b=ZYiCo+bBH7ePWPm5hOjJa6hKPLvbrFy5XbD+0E30YRC ZqkuTwcQ0EXMcy2OR5u75yEmLGdy7ZclpGG5CBTD/oKyO6px0AnVghbxlRyeqJWp WA4yyOQLzmZm9GllhmNQ2qdmLO5WZUN7JFIQwnqpwby8e/LsmhqGHbYu+jbTa9Bu hm8TzjEvGM8b7M6sY5F/KHGiKebiVdVcwpqBtvCt7p8ROxqezYNIcBWaYsuRpjbI X+uryXdWcCenVwqlLWeLrPIeqPhOxXZVCvYqjLnHMTPRmPZwUmm4ahGhmhC9xQgD BPY+eozZNGcCJ1HlEsr58YVM/s32K+aokuCdzmhzsVA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=eBHfxk 5d7b5AbxG9542PLCU4Z//oO42nsfIxDbGPfJc=; b=ODp7zUJlfngsFmVSeKMEBU /qLHxtqEb/YvUENpY2bFwQCP4kUs/sRLMXj99AtsJKal+vHarfkOKpAr2n2gAAvp 7EYPK4K2o+C8InP1AKOCAA1EjjsHF/FBeQSR+86WkMw8mu+GWLIDsc83PIK++qsl 8WSZ8KmCGw0RALIgSMd3NLLPOQTg3Xngoj7U6YcVfUEd59083AA+ct94RAfhOHy0 q/AyvHnwyjg9GnnWzUiVPRyf2XC4yiG7Oi139fN6wU5zFyyBN2eXBrnyZomVos/F OL+3vuTbl7asBCyUtJg+Yhi6wL7BjFbClVUWcLpl4TSBMxNYtTQQgiUqD+fzk75g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrheeggdduudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujggfsehttd ertddtredvnecuhfhrohhmpefirhgvghcumffjuceoghhrvghgsehkrhhorghhrdgtohhm qeenucfkphepiedvrdduleefrdehtddrvddvleenucfrrghrrghmpehmrghilhhfrhhomh epghhrvghgsehkrhhorghhrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (62-193-50-229.as16211.net [62.193.50.229]) by mail.messagingengine.com (Postfix) with ESMTPA id A24E7103CE; Thu, 25 Apr 2019 13:27:52 -0400 (EDT) Date: Thu, 25 Apr 2019 19:27:50 +0200 From: Greg KH To: Chirag Chauhan Subject: Re: Partition linux page cache for each VM Message-ID: <20190425172750.GD11105@kroah.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Thu, Apr 25, 2019 at 07:06:54PM +0530, Chirag Chauhan wrote: > Hey, > > I need to modify pagecache such that each VM gets their own LRU list and > eviction is done from that list. Odd, please step back, why have you determined that this is something that you have to do? Were you told to do this by someone? Is this a homework assignment? What problems are you thinking that this might help with? And please define "VM" here, what exactly is that? A KVM image? Xen? Hyper-V? Something else? thanks, greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies