All of lore.kernel.org
 help / color / mirror / Atom feed
From: Al Viro <viro@ZenIV.linux.org.uk>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Xiaotian Feng <xtfeng@gmail.com>,
	akpm@linux-foundation.org, Xiaotian Feng <dannyfeng@tencent.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] proc: fix inconsistent lock state
Date: Wed, 19 Dec 2012 16:44:08 +0000	[thread overview]
Message-ID: <20121219164408.GK4939@ZenIV.linux.org.uk> (raw)
In-Reply-To: <dfadce3a-07b9-4760-9213-edf93abab2e7@email.android.com>

On Wed, Dec 19, 2012 at 04:13:30AM -0800, Eric W. Biederman wrote:

> Something doesn't feel right.   I don't think there should be a path where we get to proc_free_inum from bh context.
> 
> Rcu callbacks should be running in process context (if a special one).

No, they are not.  They run from softirq context, which makes for all kinds
of interesting kludges being required in various places.

      reply	other threads:[~2012-12-19 16:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-19 10:26 [PATCH] proc: fix inconsistent lock state Xiaotian Feng
2012-12-19 12:13 ` Eric W. Biederman
2012-12-19 16:44   ` Al Viro [this message]

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=20121219164408.GK4939@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=akpm@linux-foundation.org \
    --cc=dannyfeng@tencent.com \
    --cc=ebiederm@xmission.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xtfeng@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.