Changes

Jump to: navigation, search

Kernel code quotes

No change in size, 07:39, 7 November 2007
m
Add them upside-down to make new quotes appear at the top
----
<pre>
Instead of using a dedicated spinlock, we static inline int sk_hashed(abconst struct sock *sk)use inetsw_lock{ return !sk_unhashed(sk);}
</pre>
:''from linux-2.6.23/include/net/ipv4/af_inetsock.c:build_ehash_secret()h''
----
<pre>
static inline int sk_hashedInstead of using a dedicated spinlock, we (const struct sock *skab){ return !sk_unhashed(sk);}use inetsw_lock
</pre>
:''from linux-2.6.23/includenet/netipv4/sockaf_inet.hc:build_ehash_secret()''
[[Category: Kernel]]

Navigation menu