Re: Fast path efficiency (Re: [rfc][patch] dynamic data structure switching)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Oleg Verych <olecom@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, David Miller <davem@...>, Paul McKenney <paulmck@...>
Date: Thursday, September 6, 2007 - 3:14 am

On Thu, Sep 06, 2007 at 01:05:40AM +0200, Oleg Verych wrote:

I'm not too sure, but I'd guess that most of the time the compiler will
be able to figure out they are the same.

resize_pid_hash() fortunately isn't a fastpath anyway -- it calls
dyn_data_replace which ends up calling synchronize_rcu() 3 times,
each of which is likely to take a long time!

-
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)
Re: Fast path efficiency (Re: [rfc][patch] dynamic data stru..., Nick Piggin, (Thu Sep 6, 3:14 am)