OpenVZ Forum


Home » Mailing lists » Devel » [PATCH net-2.6.25 3/3] Uninline the inet_twsk_put function
Re: [PATCH net-2.6.25 3/3] Uninline the inet_twsk_put function [message #25665 is a reply to message #25350] Fri, 21 December 2007 17:53 Go to previous messageGo to previous message
Ingo Oeser is currently offline  Ingo Oeser
Messages: 4
Registered: January 2007
Junior Member
Hi David,

David Miller schrieb:
> "inet_timewait_sock" begins with a "struct sock_common"
> which is where the atomic_t is, and:
> 
> #define tw_refcnt		__tw_common.skc_refcnt
> 
> So you would have to change struct sock_common over to kref, and thus
> the entire networking, in order to make such a change.

Ok, that sounds too much. Many thanks for following up and taking the time
to explain it.
 
> But you would have seen this instantly if you had spent 5 seconds
> looking at how these datastructures are defined.  Instead you choose
> to make me do it and explain it to you instead.

Sorry, just matched the wrong pattern here :-)


Best Regards

Ingo Oeser
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [RFC] [PATCH -mm] oom_kill: remove uid==0 checks
Next Topic: Catching the console
Goto Forum:
  


Current Time: Sun Oct 06 11:06:41 GMT 2024

Total time taken to generate the page: 0.04372 seconds