LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH ipvs-next v3 0/2] sched: Add cond_resched_rcu_lock() helper

To: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Subject: Re: [PATCH ipvs-next v3 0/2] sched: Add cond_resched_rcu_lock() helper
Cc: David Miller <davem@xxxxxxxxxxxxx>, eric.dumazet@xxxxxxxxx, ja@xxxxxx, mingo@xxxxxxxxxx, paulmck@xxxxxxxxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, pablo@xxxxxxxxxxxxx, dipankar@xxxxxxxxxx
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Thu, 23 May 2013 10:11:37 +0900
On Wed, May 22, 2013 at 11:00:51AM +0200, Peter Zijlstra wrote:
> On Wed, May 22, 2013 at 01:31:08AM -0700, David Miller wrote:
> > From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> > Date: Wed, 22 May 2013 09:54:38 +0200
> > 
> > > On Wed, May 22, 2013 at 02:50:30PM +0900, Simon Horman wrote:
> > >> Add a helper that for use in loops which read data protected by RCU and
> > >> may have a large number of iterations.  Such an example is dumping the 
> > >> list
> > >> of connections known to IPVS: ip_vs_conn_array() and 
> > >> ip_vs_conn_seq_next().
> > >> 
> > >> This series also updates IPVS to use the helper.
> > >> 
> > >> Simon Horman (2):
> > >>   sched: add cond_resched_rcu() helper
> > >>   ipvs: use cond_resched_rcu() helper when walking connections
> > >> 
> > >>  include/linux/sched.h           |  9 +++++++++
> > >>  net/netfilter/ipvs/ip_vs_conn.c | 23 ++++++++---------------
> > >>  2 files changed, 17 insertions(+), 15 deletions(-)
> > > 
> > > Acked-by: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> > > 
> > > How do you want to go about merging this? Do you want to route it
> > > through the net tree or through -tip?
> > 
> > I think we can have Pablo merge it into his netfilter tree.
> 
> Works for me. Thanks!

Thanks, I will queue it up in ipvs-next and pass it to Pablo from there.
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

<Prev in Thread] Current Thread [Next in Thread>