Re: [PATCH 05/12] mm: trylock_page

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nick Piggin <nickpiggin@...>
Cc: lkml <linux-kernel@...>, <linux-arch@...>, Zach Brown <zach.brown@...>, Ingo Molnar <mingo@...>, <akpm@...>
Date: Saturday, September 29, 2007 - 11:01 am

On Fri, 2007-09-28 at 13:11 +1000, Nick Piggin wrote:

Sure, that might work, or we could just make it so that add_to_*_cache
is never passed an unlocked page. But sure...


Not yet, it might just be that the concessions done to annotate this
type of lock were too severe.

What I basically did was treat all the page locks as a single recursive
lock.


Not at all familiar with that lock, but yeah, we could have a look at
doing that too.


Yeah, the space constraints make that rather hard. Each of these locks
needs some form of external meta-data.

For the page lock I used one lock instance per file system type.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 05/12] mm: trylock_page, Peter Zijlstra, (Fri Sep 28, 3:42 am)
Re: [PATCH 05/12] mm: trylock_page, Nick Piggin, (Thu Sep 27, 11:11 pm)
Re: [PATCH 05/12] mm: trylock_page, Peter Zijlstra, (Sat Sep 29, 11:01 am)
Re: [PATCH 05/12] mm: trylock_page, Nick Piggin, (Tue Oct 2, 4:44 am)