Commit:     ae1276b9349a2fd9c3afb4651e25a77ac03299d9
Parent:     920c7a5d0c94b8ce740f1d76fa06422f2a95a757
Author:     Qi Yong <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 4 22:29:27 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Feb 5 09:44:19 2008 -0800

    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
    Signed-off-by: Qi Yong <[EMAIL PROTECTED]>
    Cc: Christoph Lameter <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 mm/internal.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/internal.h b/mm/internal.h
index 1e34d24..5a9a620 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -24,7 +24,7 @@ static inline void set_page_count(struct page *page, int v)
 static inline void set_page_refcounted(struct page *page)
-       VM_BUG_ON(PageCompound(page) && PageTail(page));
+       VM_BUG_ON(PageTail(page));
        set_page_count(page, 1);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to