From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753448AbaBGSOB (ORCPT ); Fri, 7 Feb 2014 13:14:01 -0500 Received: from mga02.intel.com ([134.134.136.20]:62047 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753376AbaBGSN7 (ORCPT ); Fri, 7 Feb 2014 13:13:59 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.95,802,1384329600"; d="scan'208";a="451511214" Date: Fri, 7 Feb 2014 10:11:39 -0800 From: Andi Kleen To: "Kirill A. Shutemov" Cc: Linus Torvalds , Peter Anvin , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , the arch/x86 maintainers , Linux Kernel Mailing List , Ning Qu , Dave Hansen , Matthew Wilcox Subject: Re: [RFC, PATCH] mm: map few pages around fault address if they are in page cache Message-ID: <20140207181139.GD12219@tassilo.jf.intel.com> References: <20140206005534.GA27848@node.dhcp.inet.fi> <20140206222450.GA8823@node.dhcp.inet.fi> <20140207154232.GA18611@node.dhcp.inet.fi> <20140207173200.GC12219@tassilo.jf.intel.com> <20140207175622.GA14953@node.dhcp.inet.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140207175622.GA14953@node.dhcp.inet.fi> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > There are some extreme cases where workloads could use a lot more memory > > than before, if they access their memory sparsely in the right pattern. > > Have you noticied that we don't actually allocate any memory: only reuse > what's already there. Sure, it will increase VmSize, but do we care? Good point. With that probably readahead is overkill, agree. We would need it though if we ever do it for anonymous. -Andi -- ak@linux.intel.com -- Speaking for myself only