Re: [PATCH] rfs: Receive Flow Steering

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Friday, April 2, 2010 - 12:58 am

Le jeudi 01 avril 2010 à 20:59 -0700, Tom Herbert a écrit :


....


Instead of this complex logic (yet fine), you might try :

if (old_table) {
	synchronize_rcu();
	vfree(old_table);
	}

(and remove free_work from struct rps_dev_flow_table)

We dont write this file that often, we can afford the synchronize_rcu()
here...



--
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:
[PATCH] rfs: Receive Flow Steering, Tom Herbert, (Thu Apr 1, 8:59 pm)
Re: [PATCH] rfs: Receive Flow Steering, Changli Gao, (Thu Apr 1, 10:04 pm)
Re: [PATCH] rfs: Receive Flow Steering, Eric Dumazet, (Fri Apr 2, 12:29 am)
Re: [PATCH] rfs: Receive Flow Steering, Eric Dumazet, (Fri Apr 2, 12:58 am)
Re: [PATCH] rfs: Receive Flow Steering, Eric Dumazet, (Fri Apr 2, 1:35 am)
Re: [PATCH] rfs: Receive Flow Steering, Changli Gao, (Fri Apr 2, 3:58 am)
Re: [PATCH] rfs: Receive Flow Steering, Eric Dumazet, (Fri Apr 2, 5:01 am)
Re: [PATCH] rfs: Receive Flow Steering, Eric Dumazet, (Fri Apr 2, 5:37 am)
Re: [PATCH] rfs: Receive Flow Steering, Changli Gao, (Fri Apr 2, 6:45 am)
Re: [PATCH] rfs: Receive Flow Steering, Eric Dumazet, (Fri Apr 2, 9:28 am)
Re: [PATCH] rfs: Receive Flow Steering, Rick Jones, (Fri Apr 2, 10:01 am)
Re: [PATCH] rfs: Receive Flow Steering, Rick Jones, (Fri Apr 2, 11:25 am)
Re: [PATCH] rfs: Receive Flow Steering, Eric Dumazet, (Fri Apr 2, 12:43 pm)
Re: [PATCH] rfs: Receive Flow Steering, Changli Gao, (Wed Apr 7, 6:37 pm)