From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200510300723.j9U7Nc1T016141@shell0.pdx.osdl.net> Subject: - mm-set-per-cpu-pages-lower-threshold-to-zero.patch removed from -mm tree From: akpm@osdl.org Date: Sun, 30 Oct 2005 00:23:06 -0700 Sender: owner-linux-mm@kvack.org Return-Path: To: rohit.seth@intel.com, linux-mm@kvack.org, mm-commits@vger.kernel.org List-ID: The patch titled mm: set per-cpu-pages lower threshold to zero has been removed from the -mm tree. Its filename is mm-set-per-cpu-pages-lower-threshold-to-zero.patch This patch was probably dropped from -mm because it has already been merged into a subsystem tree or into Linus's tree From: "Seth, Rohit" Set the low water mark for hot pages in pcp to zero. (akpm: for the life of me I cannot remember why we created pcp->low. Neither can Martin and the changelog is silent. Maybe it was just a brainfart, but I have this feeling that there was a reason. If not, we should remove the fields completely. We'll see.) Signed-off-by: Rohit Seth Cc: Signed-off-by: Andrew Morton --- mm/page_alloc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN mm/page_alloc.c~mm-set-per-cpu-pages-lower-threshold-to-zero mm/page_alloc.c --- devel/mm/page_alloc.c~mm-set-per-cpu-pages-lower-threshold-to-zero 2005-10-29 17:37:00.000000000 -0700 +++ devel-akpm/mm/page_alloc.c 2005-10-29 18:15:18.000000000 -0700 @@ -1755,7 +1755,7 @@ inline void setup_pageset(struct per_cpu pcp = &p->pcp[0]; /* hot */ pcp->count = 0; - pcp->low = 2 * batch; + pcp->low = 0; pcp->high = 6 * batch; pcp->batch = max(1UL, 1 * batch); INIT_LIST_HEAD(&pcp->list); @@ -1764,7 +1764,7 @@ inline void setup_pageset(struct per_cpu pcp->count = 0; pcp->low = 0; pcp->high = 2 * batch; - pcp->batch = max(1UL, 1 * batch); + pcp->batch = max(1UL, batch/2); INIT_LIST_HEAD(&pcp->list); } _ Patches currently in -mm which might be from rohit.seth@intel.com are -- 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/ . Don't email: email@kvack.org