Benjamin LaHaise a écrit :
Hello again,
This patch introduces the use of rcu for the ipv4 established connections
hashtable, as well as the timewait table since they are closely intertwined.
This removes 4 atomic operations per packet from the tcp_v4_rcv codepath,
which helps quite a bit when the other performance barriers in the system
are removed. Eliminating the rwlock cache bouncing should also help on SMP
systems.
Sounds very good Benjamin :)
If I understand your patch correctly, your future plan is to change "struct
inet_ehash_bucket" rwlock_t wlock to a pure spinlock (when ipv6 is converted
to rcu lookups too), because no more read_lock() are expected ?
I didnt understand why you added a test on sk->sk_node.pprev against
LIST_POISON2 in sk_unhashed() and sk_hashed()
Thank you
Eric
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html