[PATCH] mm: nommu use compound pages
Now that compound page handling is properly fixed in the VM, move nommu over to using compound pages rather than rolling their own refcounting. nommu vm page refcounting is broken anyway, but there is no need to have divergent code in the core VM now, nor when it gets fixed. Signed-off-by: Nick Piggin <npiggin@suse.de> Cc: David Howells <dhowells@redhat.com> (Needs testing, please). Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
0f8053a509
commit
84097518d1
@@ -327,11 +327,7 @@ static inline void get_page(struct page *page)
|
||||
|
||||
void put_page(struct page *page);
|
||||
|
||||
#ifdef CONFIG_MMU
|
||||
void split_page(struct page *page, unsigned int order);
|
||||
#else
|
||||
static inline void split_page(struct page *page, unsigned int order) {}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Multiple processes may "see" the same page. E.g. for untouched
|
||||
|
Reference in New Issue
Block a user