Re: [rfc][patch] dynamic data structure switching

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nick Piggin <npiggin@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, David Miller <davem@...>, Paul McKenney <paulmck@...>, Ingo Molnar <mingo@...>
Date: Monday, September 10, 2007 - 7:55 am

On Sun, 2007-09-02 at 20:27 +0200, Nick Piggin wrote:


With the seqlock protecting the whole xfer a lookup for a non-existing
item might spin here for a very long time.

Maybe we should create this sleeping seqlock we talked and provide both
a sleeping and non sleeping version of this lookup function.


So its up to the caller to take resize_mutex, but there is no mention of
this requirement. Why cannot it be taken inside this function?


<snip>



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

Messages in current thread:
[rfc][patch] dynamic data structure switching, Nick Piggin, (Sun Sep 2, 2:27 pm)
Re: [rfc][patch] dynamic data structure switching, Peter Zijlstra, (Mon Sep 10, 7:55 am)
Re: [rfc][patch] dynamic data structure switching, Nick Piggin, (Mon Sep 10, 9:39 am)
Re: [rfc][patch] dynamic data structure switching, Nick Piggin, (Sun Sep 2, 2:36 pm)