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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Thursday, October 21, 2010 - 1:58 am

> You said that there were a lot of "stepi" commands to get through

Paul, this should be inlined, dont you think ?

Also, I dont understand why we use ACCESS_ONCE() in rcu_read_lock()

ACCESS_ONCE(current->rcu_read_lock_nesting)++;

Apparently, some compilers are a bit noisy here.

mov    0x1b0(%rdx),%eax
inc    %eax
mov    %eax,0x1b0(%rdx)

instead of :

incl   0x1b0(%rax)

So if the ACCESS_ONCE() is needed, we might add a comment, because it's
not obvious ;)



--
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)