![]() | |||||||||||||
Messages in this thread Patch in this message |
Mel Gorman <mel@csn.ul.ie> wrote: > > Buddy allocators, including the > one implemented in Linux, do not record what order allocation a struct > page belongs to. We can do that. --- 25/mm/page_alloc.c~a 2003-06-26 13:09:11.000000000 -0700 +++ 25-akpm/mm/page_alloc.c 2003-06-26 13:09:24.000000000 -0700 @@ -123,6 +123,7 @@ static void prep_compound_page(struct pa SetPageCompound(p); p->lru.next = (void *)page; } + page[1].index = order; } static void destroy_compound_page(struct page *page, unsigned long order) _ - 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/ | ||||||||||||
| Last update: 2005-03-22 12:36 [W:0.193 / U:0.110 seconds] ©2003-2008 Jasper Spaans | |||||||||||||