Re: [patch 7/7] powerpc: lockless get_user_pages_fast

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nick Piggin <npiggin@...>
Cc: Christoph Lameter <clameter@...>, <torvalds@...>, <linux-mm@...>, <linux-kernel@...>, <benh@...>, <paulus@...>
Date: Wednesday, June 11, 2008 - 2:06 am

On Wed, 11 Jun 2008 06:49:02 +0200 Nick Piggin <npiggin@suse.de> wrote:


No, slab defreg[*] isn't in linux-next.

y:/usr/src/25> diffstat patches/linux-next.patch| grep mm/slub.c
 mm/slub.c                                                    |    4 

That's two spelling fixes in comments.

I have git-pekka in -mm too.  Here it is:

--- a/mm/slub.c
+++ b/mm/slub.c
@@ -2765,6 +2765,7 @@ void kfree(const void *x)
 
 	page = virt_to_head_page(x);
 	if (unlikely(!PageSlab(page))) {
+		BUG_ON(!PageCompound(page));
 		put_page(page);
 		return;
 	}



I think I'd prefer that.  I may be a bit slow, but we're shoving at
least 100 MM patches through each kernel release and I think I review
things more closely than others choose to.  At least, I find problems
and I've seen some pretty wild acked-bys...


[*] It _isn't_ "slab defrag".  Or at least, it wasn't last time I saw
it.  It's "slub defrag".  And IMO it is bad to be adding slub-only
features because afaik slub still isn't as fast as slab on some things
and so some people might want to run slab rather than slub.  And
because if this the decision whether to retain slab or slub STILL
hasn't been made.  Carrying both versions was supposed to be a
short-term transitional thing :(
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 09/19] slub: Trigger defragmentation from memory recl..., Christoph Lameter, (Fri May 9, 10:21 pm)
Re: [patch 7/7] powerpc: lockless get_user_pages_fast, Christoph Lameter, (Tue Jun 10, 3:00 pm)
Re: [patch 7/7] powerpc: lockless get_user_pages_fast, Nick Piggin, (Tue Jun 10, 11:18 pm)
Re: [patch 7/7] powerpc: lockless get_user_pages_fast, Christoph Lameter, (Wed Jun 11, 12:40 am)
Re: [patch 7/7] powerpc: lockless get_user_pages_fast, Nick Piggin, (Wed Jun 11, 12:47 am)
Re: [patch 7/7] powerpc: lockless get_user_pages_fast, Christoph Lameter, (Wed Jun 11, 12:41 am)
Re: [patch 7/7] powerpc: lockless get_user_pages_fast, Nick Piggin, (Wed Jun 11, 12:49 am)
Re: [patch 7/7] powerpc: lockless get_user_pages_fast, Andrew Morton, (Wed Jun 11, 2:06 am)
Re: [patch 7/7] powerpc: lockless get_user_pages_fast, Christoph Lameter, (Wed Jun 11, 7:20 pm)
Re: [patch 7/7] powerpc: lockless get_user_pages_fast, Nick Piggin, (Wed Jun 11, 2:24 am)
Re: [patch 7/7] powerpc: lockless get_user_pages_fast, Andrew Morton, (Wed Jun 11, 2:50 am)
Re: [patch 7/7] powerpc: lockless get_user_pages_fast, Andrew Morton, (Mon Jun 9, 4:32 am)
Re: [patch 7/7] powerpc: lockless get_user_pages_fast, Nick Piggin, (Mon Jun 9, 11:15 pm)