From: Eric Dumazet <eric.dumazet@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, paulmck@linux.vnet.ibm.com
Subject: Re: [PATCH net-next-2.6] net: sk_dst_cache RCUification
Date: Wed, 14 Apr 2010 07:35:25 +0200 [thread overview]
Message-ID: <1271223325.16881.600.camel@edumazet-laptop> (raw)
In-Reply-To: <20100413.161153.135265420.davem@davemloft.net>
Le mardi 13 avril 2010 à 16:11 -0700, David Miller a écrit :
> From: Eric Dumazet <eric.dumazet@gmail.com>
> Date: Wed, 14 Apr 2010 01:04:05 +0200
>
> > Instead of using rcu on whole "struct socket", my plan is to use a small
> > structure :
> >
> > struct wait_queue_head_rcu {
> > wait_queue_head_t wait;
> > struct rcu_head rcu;
> > } ____cacheline_aligned_in_smp;
> >
> > and make sk->sk_sleep points to this 'wait' field.
>
> So you're relying upon the fact that in the non-FASYNC case
> the struct socket's wait queue is never actually used?
Yes, for the first phase of my work, by asynch handling might be RCUfied
too in a second phase :)
next prev parent reply other threads:[~2010-04-14 5:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-09 9:03 [PATCH net-next-2.6] net: sk_dst_cache RCUification Eric Dumazet
2010-04-13 8:52 ` David Miller
2010-04-13 23:04 ` Eric Dumazet
2010-04-13 23:11 ` David Miller
2010-04-14 5:35 ` Eric Dumazet [this message]
2010-04-14 5:47 ` Eric Dumazet
2010-04-20 23:03 ` [PATCH net-next-2.6] net: sk_sleep() helper Eric Dumazet
2010-04-20 23:39 ` David Miller
2010-04-26 8:20 ` Eric Dumazet
2010-04-26 18:17 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1271223325.16881.600.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=paulmck@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox