]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] vmscan: use unsigned longs
authorAndrew Morton <akpm@osdl.org>
Wed, 22 Mar 2006 08:08:19 +0000 (00:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:54:00 +0000 (07:54 -0800)
commit14574b92299ba1ab0cb8fb7da258d86b7dd39029
tree165e594ed5cd34c3a2b2ec236f75ac5b192ade7a
parent1ee7d1f1ca1b4b8249d5b3bd1ee53e30a4d996f6
[PATCH] vmscan: use unsigned longs

Turn basically everything in vmscan.c into `unsigned long'.  This is to avoid
the possibility that some piece of code in there might decide to operate upon
more than 4G (or even 2G) of pages in one hit.

This might be silly, but we'll need it one day.

Cc: Christoph Lameter <clameter@sgi.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mm.h
include/linux/swap.h
mm/vmscan.c