set_page_refcounted() VM_BUG_ON fix
authorQi Yong <qiyong@fc-cn.com>
Tue, 5 Feb 2008 06:29:27 +0000 (22:29 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:19 +0000 (09:44 -0800)
commitae1276b9349a2fd9c3afb4651e25a77ac03299d9
treee3bef5a303f308e398caf53ac098b1d4a2a8061f
parent920c7a5d0c94b8ce740f1d76fa06422f2a95a757
set_page_refcounted() VM_BUG_ON fix

The current PageTail semantic is that a PageTail page is first a
PageCompound page.  So remove the redundant PageCompound test in
set_page_refcounted().

Signed-off-by: Qi Yong <qiyong@fc-cn.com>
Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/internal.h