VM: allow get_page_unless_zero on compound pages
authorChristoph Lameter <clameter@sgi.com>
Tue, 5 Feb 2008 06:28:35 +0000 (22:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:14 +0000 (09:44 -0800)
commitaec2c3ed01ed54d0cdf7f6b7c4be217c045ac5ea
treeb4fcc3f69567eafe956d2fd0af37ba5ca008c531
parentbf53d6f8fa467397a16de2a2500312ae26528d34
VM: allow get_page_unless_zero on compound pages

Both slab defrag and the large blocksize patches need to ability to take
refcounts on compound pages.  May be useful in other places as well.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h