Messages in this thread | | | Date | Wed, 22 Apr 2009 19:41:58 +0900 | Subject | Re: [PATCH 20/25] Do not check for compound pages during the page allocator sanity checks | From | KOSAKI Motohiro <> |
| |
>> inserting VM_BUG_ON(PageTail(page)) is better? >> > > We already go one further with > > #define PAGE_FLAGS_CHECK_AT_PREP ((1 << NR_PAGEFLAGS) - 1) > > ... > > if (.... | (page->flags & PAGE_FLAGS_CHECK_AT_PREP)) > bad_page(page); > > PG_tail is in PAGE_FLAGS_CHECK_AT_PREP so we're already checking for it > and calling bad_page() if set.
ok, good. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |