lkml.org 
[lkml]   [2008]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 7/7] powerpc: lockless get_user_pages_fast
On Thu, 5 Jun 2008, npiggin@suse.de wrote:

> Index: linux-2.6/include/linux/mm.h
> ===================================================================
> --- linux-2.6.orig/include/linux/mm.h
> +++ linux-2.6/include/linux/mm.h
> @@ -244,7 +244,7 @@ static inline int put_page_testzero(stru
> */
> static inline int get_page_unless_zero(struct page *page)
> {
> - VM_BUG_ON(PageTail(page));
> + VM_BUG_ON(PageCompound(page));
> return atomic_inc_not_zero(&page->_count);
> }

This is reversing the modification to make get_page_unless_zero() usable
with compound page heads. Will break the slab defrag patchset.




\
 
 \ /
  Last update: 2008-06-10 21:03    [W:0.130 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site