All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Manfred Spraul" <manfred@colorfullife.com>
To: <ebiederman@lnxi.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Longstanding elf fix (2.4.3 fix)
Date: Mon, 23 Apr 2001 23:54:22 +0200	[thread overview]
Message-ID: <004201c0cc40$07c79ef0$5517fea9@local> (raw)

> Well looking a little more closely than I did last night it looks like
> access_process_vm (called from ptrace) can cause what amounts to a
> page fault at pretty arbitrary times.

It's also used for several /proc/<pid> files.

I remember that I got crashes with concurrent exec+cat
/proc/<pid>/cmdline until down(mmap_sem) was added into
setup_arg_pages().

> I'm actually a little curious what the big kernel lock in ptrace buys
> us. I suspect it could be a performance issue with user mode linux.
> Where you have multiple processes being ptraced at the same time.

I checked it a few months ago, and the lock is only required to prevent
multiple concurrent attaches to the same process and concorrent
ptrace/suid exec (in fs/exec.c, compute_creds)

--
    Manfred






             reply	other threads:[~2001-04-23 22:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-23 21:54 Manfred Spraul [this message]
2001-04-24  7:19 ` [PATCH] Longstanding elf fix (2.4.3 fix) Eric W. Biederman
  -- strict thread matches above, loose matches on Subject: below --
2001-04-23  0:14 Eric W. Biederman
2001-04-23  3:15 ` David S. Miller
2001-04-23  7:44   ` Eric W. Biederman
2001-04-23  7:59     ` Philip Blundell
2001-04-23 16:05   ` Eric W. Biederman
2001-04-23 17:39     ` Linus Torvalds
2001-04-23 18:54       ` Eric W. Biederman
2001-04-24 22:34         ` Ion Badulescu
2001-04-24 23:34           ` 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='004201c0cc40$07c79ef0$5517fea9@local' \
    --to=manfred@colorfullife.com \
    --cc=ebiederman@lnxi.com \
    --cc=linux-kernel@vger.kernel.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 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.