From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx188.postini.com [74.125.245.188]) by kanga.kvack.org (Postfix) with SMTP id F31FF8D0001 for ; Fri, 11 May 2012 12:35:21 -0400 (EDT) Received: by ggm4 with SMTP id 4so1040773ggm.14 for ; Fri, 11 May 2012 09:35:21 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <4FACD00D.4060003@kernel.org> <4FACD573.4060103@kernel.org> From: Sasha Levin Date: Fri, 11 May 2012 18:35:00 +0200 Message-ID: Subject: Re: [PATCH] mm: raise MemFree by reverting percpu_pagelist_fraction to 0 Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds Cc: Minchan Kim , Hugh Dickins , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org On Fri, May 11, 2012 at 6:27 PM, Linus Torvalds wrote: > On Fri, May 11, 2012 at 2:01 AM, Minchan Kim wrote: >> >> I didn't have a time so made quick patch to show just concept. >> Not tested and Not consider carefully. >> If anyone doesn't oppose, I will send formal patch which will have more beauty code. > > What's so magical about that '8' *anyway*? We do we have that minimum at all? > > At the very least, the 8-vs-0 thing needs to be explained. The '0' acts as an "off" switch. Once it's on, we reserve 1/x of the pages for the pagelists. I'm not sure why 8 was selected in the first place, but I guess it made sense that you don't want to reserve 15%+ of your memory for the pagelists. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org