[PATCH] mm: make __put_page internal
authorNick Piggin <npiggin@suse.de>
Wed, 22 Mar 2006 08:08:33 +0000 (00:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:54:01 +0000 (07:54 -0800)
commit0f8053a509ceba4a077a50ea7b77039b5559b428
tree5a66021540395e20256f38a3a45174617428a832
parent4fa4f53bf92139595cae6f1a3d972fc0a3451d29
[PATCH] mm: make __put_page internal

Remove __put_page from outside the core mm/.  It is dangerous because it does
not handle compound pages nicely, and misses 1->0 transitions.  If a user
later appears that really needs the extra speed we can reevaluate.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mm.h
mm/filemap.c
mm/internal.h
mm/vmscan.c