From: Rik van Riel <riel@conectiva.com.br>
To: Manfred Spraul <manfred@colorfullife.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: BUG? race between kswapd and ptrace (access_process_vm )
Date: Wed, 7 Mar 2001 13:56:39 -0300 (BRST) [thread overview]
Message-ID: <Pine.LNX.4.33.0103071356140.1409-100000@duckman.distro.conectiva> (raw)
In-Reply-To: <004701c0a724$45004240$5517fea9@local>
On Wed, 7 Mar 2001, Manfred Spraul wrote:
> Is kswapd now running without lock_kernel()?
Indeed ...
> Then there is a race between swapout and ptrace:
> access_process_vm() accesses the page table entries, only protected with
> the mmap_sem semaphore and lock_kernel().
>
> Isn't
>
> spin_lock(&mm->page_table_lock);
>
> missing in access_one_page() [in linux/kernel/ptrace.c]?
You're probably right here ...
regards,
Rik
--
Linux MM bugzilla: http://linux-mm.org/bugzilla.shtml
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...
http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com/
next prev parent reply other threads:[~2001-03-07 16:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-07 16:32 BUG? race between kswapd and ptrace (access_process_vm ) Manfred Spraul
2001-03-07 16:56 ` Rik van Riel [this message]
2001-03-08 20:12 ` Manfred Spraul
2001-03-12 11:55 ` Stephen C. Tweedie
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=Pine.LNX.4.33.0103071356140.1409-100000@duckman.distro.conectiva \
--to=riel@conectiva.com.br \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.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).