Thread (30 messages) 30 messages, 7 authors, 2003-07-03

Re: [RFC] My research agenda for 2.7

From: Andrew Morton <hidden>
Date: 2003-06-26 19:55:47
Also in: lkml

Mel Gorman [off-list ref] 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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help