Re: [RFC PATCH 1/9] ipvs network name space aware

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul E. McKenney
Date: Wednesday, October 20, 2010 - 9:02 am

On Wed, Oct 20, 2010 at 10:25:19AM +0200, Hans Schillstrom wrote:

You said that there were a lot of "stepi" commands to get through
rcu_read_lock() on x86_64.  This is quite surprising, especially if you
built with CONFIG_RCU_TREE.  Even if you built with CONFIG_PREEMPT_RCU_TREE,
you should only see something like the following from rcu_read_lock():

000000b7 <__rcu_read_lock>:
      b7:	55                   	push   %ebp
      b8:	64 a1 00 00 00 00    	mov    %fs:0x0,%eax
      be:	ff 80 80 01 00 00    	incl   0x180(%eax)
      c4:	89 e5                	mov    %esp,%ebp
      c6:	5d                   	pop    %ebp
      c7:	c3                   	ret    

Unless you have some sort of debugging options turned on.  Or unless
six instructions counts for "quite many" stepi commands.  ;-)

So I am quite curious, independent of whether or not IPVS is a candidate
for net_generic.  That choice for IPVS is not mine to make, and I will
trust the relevant developers and maintainers to make the right choice,
whether that be RCU or something else.  Even I do not claim that RCU
is the right tool for all jobs!  ;-)

							Thanx, Paul
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 1/9] ipvs network name space aware, Hans Schillstrom, (Fri Oct 8, 4:16 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Daniel Lezcano, (Mon Oct 18, 1:59 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Hans Schillstrom, (Mon Oct 18, 2:54 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Daniel Lezcano, (Mon Oct 18, 4:37 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Hans Schillstrom, (Mon Oct 18, 6:23 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Daniel Lezcano, (Mon Oct 18, 7:26 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Paul E. McKenney, (Tue Oct 19, 11:44 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Hans Schillstrom, (Wed Oct 20, 1:25 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Paul E. McKenney, (Wed Oct 20, 9:02 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Hans Schillstrom, (Thu Oct 21, 12:45 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Eric Dumazet, (Thu Oct 21, 1:01 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Eric Dumazet, (Thu Oct 21, 1:58 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Paul E. McKenney, (Thu Oct 21, 8:16 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Paul E. McKenney, (Thu Oct 21, 8:18 am)
Re: [RFC PATCH 1/9] ipvs network name space aware, Eric Dumazet, (Thu Oct 21, 8:24 am)