linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Al Viro <viro@ZenIV.linux.org.uk>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Oleg Nesterov <oleg@redhat.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Pavel Emelyanov <xemul@parallels.com>,
	Cyrill Gorcunov <gorcunov@openvz.org>,
	Louis Rilling <louis.rilling@kerlabs.com>,
	Mike Galbraith <efault@gmx.de>,
	Christoph Hellwig <hch@infradead.org>,
	linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] vfs: Speed up deactivate_super for non-modular filesystems
Date: Mon, 7 May 2012 16:56:47 -0700	[thread overview]
Message-ID: <20120507235647.GH21152@linux.vnet.ibm.com> (raw)
In-Reply-To: <20120507221706.GI22082@ZenIV.linux.org.uk>

On Mon, May 07, 2012 at 11:17:06PM +0100, Al Viro wrote:
> On Mon, May 07, 2012 at 02:51:08PM -0700, Eric W. Biederman wrote:
> 
> > /proc and similar non-modular filesystems do not need a rcu_barrier
> > in deactivate_locked_super.  Being non-modular there is no danger
> > of the rcu callback running after the module is unloaded.
> 
> There's more than just a module unload there, though - actual freeing
> struct super_block also happens past that rcu_barrier()...

Is there anything in there for which synchronous operation is required?
If not, one approach would be to drop the rcu_barrier() calls to a
workqueue or something similar.

							Thanx, Paul


  reply	other threads:[~2012-05-07 23:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1335604790.5995.22.camel@marge.simpson.net>
     [not found] ` <20120428142605.GA20248@redhat.com>
     [not found]   ` <m14ns355ru.fsf@fess.ebiederm.org>
     [not found]     ` <20120429165846.GA19054@redhat.com>
     [not found]       ` <1335754867.17899.4.camel@marge.simpson.net>
     [not found]         ` <m1zk9rmyh4.fsf@fess.ebiederm.org>
     [not found]           ` <20120501134214.f6b44f4a.akpm@linux-foundation.org>
     [not found]             ` <1336014721.7370.32.camel@marge.simpson.net>
     [not found]               ` <1336057018.8119.46.camel@marge.simpson.net>
     [not found]                 ` <1336105676.7356.42.camel@marge.simpson.net>
     [not found]                   ` <m1aa1oidmn.fsf@fess.ebiederm.org>
     [not found]                     ` <1336124716.25479.36.camel@marge.simpson.net>
     [not found]                       ` <m1vckcdoey.fsf@fess.ebiederm.org>
     [not found]                         ` <1336142995.25479.49.camel@marge.simpson.net>
     [not found]                           ` <m1zk9oc61j.fsf@fess.ebiederm.org>
     [not found]                             ` <1336150643.7502.4.camel@marge.simpson.net>
     [not found]                               ` <m1fwbfd71h.fsf@fess.ebiederm.org>
     [not found]                                 ` <1336197362.7346.9.camel@marge.simpson.net>
     [not found]                                   ` <1336198093.7346.11.camel@marge.simpson.net>
     [not found]                                     ` <1336201977.7346.22.camel@marge.simpson.net>
2012-05-07 21:51                                       ` [PATCH] vfs: Speed up deactivate_super for non-modular filesystems Eric W. Biederman
2012-05-07 22:17                                         ` Al Viro
2012-05-07 23:56                                           ` Paul E. McKenney [this message]
2012-05-08  1:07                                             ` Eric W. Biederman
2012-05-08  4:53                                               ` Mike Galbraith
2012-05-09  7:55                                               ` Nick Piggin
2012-05-09 11:02                                                 ` Eric W. Biederman
2012-05-15  8:40                                                   ` Nick Piggin
2012-05-16  0:34                                                     ` Eric W. Biederman
2012-05-09 13:59                                                 ` Paul E. McKenney

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=20120507235647.GH21152@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=ebiederm@xmission.com \
    --cc=efault@gmx.de \
    --cc=gorcunov@openvz.org \
    --cc=hch@infradead.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=louis.rilling@kerlabs.com \
    --cc=oleg@redhat.com \
    --cc=viro@ZenIV.linux.org.uk \
    --cc=xemul@parallels.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;
as well as URLs for NNTP newsgroup(s).