mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Roland McGrath <roland@redhat.com>
To: Oleg Nesterov <oleg@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>,
	linux-kernel@vger.kernel.org, torvalds@linux-foundation.org
Subject: Re: BKL use in ptrace
Date: Mon, 21 Dec 2009 17:13:29 -0800 (PST)	[thread overview]
Message-ID: <20091222011329.D78C010274@magilla.sf.frob.com> (raw)
In-Reply-To: Oleg Nesterov's message of  Monday, 21 December 2009 18:02:37 +0100 <20091221170237.GA5384@redhat.com>

> I never understood this lock_kernel().
> 
> In any case it looks outdated. We were going to kill it "soon",
> along with other ptrace changes.

I never understood it either.  It's very ancient and long predates many,
many ptrace cleanups.  If the comment was ever accurate, then any issue
like that is now covered by cred_guard_mutex.  I don't know of any reason
for (or really, effect of) using BKL in ptrace.


Thanks,
Roland

      reply	other threads:[~2009-12-22  1:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-20 18:53 Andi Kleen
2009-12-21 17:02 ` Oleg Nesterov
2009-12-22  1:13   ` Roland McGrath [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=20091222011329.D78C010274@magilla.sf.frob.com \
    --to=roland@redhat.com \
    --cc=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@redhat.com \
    --cc=torvalds@linux-foundation.org \
    /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®