]> bbs.cooldavid.org Git - net-next-2.6.git/commit - mm/vmstat.c
Page allocator: get rid of the list of cold pages
authorChristoph Lameter <clameter@sgi.com>
Tue, 5 Feb 2008 06:29:19 +0000 (22:29 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:18 +0000 (09:44 -0800)
commit3dfa5721f12c3d5a441448086bee156887daa961
tree8ace8c3f842f8b626b762bb9d2a9b24d8e3bd130
parent5dc331852848a38ca00a2817e5b98a1d0561b116
Page allocator: get rid of the list of cold pages

We have repeatedly discussed if the cold pages still have a point. There is
one way to join the two lists: Use a single list and put the cold pages at the
end and the hot pages at the beginning. That way a single list can serve for
both types of allocations.

The discussion of the RFC for this and Mel's measurements indicate that
there may not be too much of a point left to having separate lists for
hot and cold pages (see http://marc.info/?t=119492914200001&r=1&w=2).

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Martin Bligh <mbligh@mbligh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmzone.h
mm/page_alloc.c
mm/vmstat.c