mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Eric W. Biederman" <ebiederm@xmission.com>
To: Waiman Long <Waiman.Long@hp.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Nicolas Dichtel <nicolas.dichtel@6wind.com>,
	Al Viro <viro@zeniv.linux.org.uk>,
	Alexey Dobriyan <adobriyan@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	Scott J Norton <scott.norton@hp.com>,
	Douglas Hatch <doug.hatch@hp.com>
Subject: Re: [PATCH] proc: change proc_subdir_lock to a rwlock
Date: Wed, 29 Jul 2015 17:21:10 -0500	[thread overview]
Message-ID: <DDAFF52F-3277-4645-9DA9-62C388DA445C@xmission.com> (raw)
In-Reply-To: <1438201199-2809-1-git-send-email-Waiman.Long@hp.com>

Two quick questions.

- What motivates this work?  Are you seeing lots of
  parallel reads on proc?

- Why not rcu?  Additions and removal of proc generic
  files is very rare.  Conversion to rcu for reads should
  perform better and not take much more work.

Eric


  reply	other threads:[~2015-07-29 22:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-29 20:19 Waiman Long
2015-07-29 22:21 ` Eric W. Biederman [this message]
2015-07-30 10:04   ` Alexey Dobriyan
2015-07-31  2:16   ` Waiman Long
2015-07-31  2:53     ` Waiman Long
2015-08-03 18:03       ` Eric W. Biederman

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=DDAFF52F-3277-4645-9DA9-62C388DA445C@xmission.com \
    --to=ebiederm@xmission.com \
    --cc=Waiman.Long@hp.com \
    --cc=adobriyan@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=doug.hatch@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nicolas.dichtel@6wind.com \
    --cc=scott.norton@hp.com \
    --cc=viro@zeniv.linux.org.uk \
    /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

all inboxes | Powered by JetHome®