public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: xeb@mail.ru
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 2/3] PPTP: PPP over IPv4 (Point-to-Point Tunneling Protocol)
Date: Wed, 4 Aug 2010 10:25:35 -0700	[thread overview]
Message-ID: <20100804102535.37bd94c4@nehalam> (raw)
In-Reply-To: <E1OgbTZ-0006nb-00.xeb-mail-ru@f279.mail.ru>

On Wed, 04 Aug 2010 14:45:33 +0400
xeb@mail.ru wrote:

> +static DEFINE_RWLOCK(chan_lock);

A reader-writer lock is going to be slower than a spin lock
(or RCU) for this. IF possible, could you use RCU?

-- 

  parent reply	other threads:[~2010-08-04 17:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-04 10:45 [PATCH 2/3] PPTP: PPP over IPv4 (Point-to-Point Tunneling Protocol) xeb
2010-08-04 17:24 ` Stephen Hemminger
2010-08-04 20:51   ` xeb
2010-08-04 17:25 ` Stephen Hemminger [this message]
2010-08-04 20:49   ` xeb
2010-08-04 19:19 ` Dan Williams
2010-08-04 20:36   ` Re[2]: " xeb

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=20100804102535.37bd94c4@nehalam \
    --to=shemminger@vyatta.com \
    --cc=netdev@vger.kernel.org \
    --cc=xeb@mail.ru \
    /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