From: "Stephen C. Tweedie" <sct@dcs.ed.ac.uk>
To: "David S. Miller" <davem@dm.cobaltmicro.com>
Cc: whawes@star.net, sct@dcs.ed.ac.uk, linux-kernel@vger.rutgers.edu,
torvalds@transmeta.com, linux-mm@kvack.org,
number6@the-village.bc.nu
Subject: Re: patch for 2.1.102 swap code
Date: Tue, 26 May 1998 19:00:25 +0100 [thread overview]
Message-ID: <199805261800.TAA01935@dax.dcs.ed.ac.uk> (raw)
In-Reply-To: <199805251342.GAA03658@dm.cobaltmicro.com>
Hi,
On Mon, 25 May 1998 06:42:53 -0700, "David S. Miller"
<davem@dm.cobaltmicro.com> said:
> Alas, I thought about this some more. And one piece of code needs to
> be fixed for this invariant about the semaphore being held in the
> fault processing code paths to be true everywhere... ptrace()...
Yep --- I was just about to reply to your last mail with this point when
I got your follow-up. I've also had one report that the writable cached
page reports started when debugging an electric-fenced binary under
gdb. Has anyody seen these vm messages who has definitely NOT been
running gdb?
There's also the point that the whole swapout code munges page tables
without ever taking the mm semaphore, but that case ought to be
protected by the combination of (a) having the kernel spinlock and (b)
never stalling between starting a vma walk and modifying the pte. (The
swapout code is pretty paranoid about this.) However, I'm not
absolutely 100% sure that we don't have any unfortunate races left by
this exception. (For example, do we ever protect a vma by the mm
semaphore without also doing a lock_kernel()?)
--Stephen
next prev parent reply other threads:[~1998-05-26 20:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <356478F0.FE1C378F@star.net>
1998-05-24 17:28 ` patch for 2.1.102 swap code Stephen C. Tweedie
1998-05-25 10:07 ` David S. Miller
1998-05-25 12:38 ` Eric W. Biederman
1998-05-26 21:52 ` Stephen C. Tweedie
1998-06-11 14:31 ` Eric W. Biederman
1998-06-12 21:29 ` Stephen C. Tweedie
1998-05-25 12:52 ` Bill Hawes
1998-05-25 13:42 ` David S. Miller
1998-05-26 18:00 ` Stephen C. Tweedie [this message]
1998-05-26 21:38 ` Stephen C. Tweedie
1998-05-26 21:46 ` Rik van Riel
1998-06-02 22:21 ` Stephen C. Tweedie
1998-05-27 15:27 ` Bill Hawes
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=199805261800.TAA01935@dax.dcs.ed.ac.uk \
--to=sct@dcs.ed.ac.uk \
--cc=davem@dm.cobaltmicro.com \
--cc=linux-kernel@vger.rutgers.edu \
--cc=linux-mm@kvack.org \
--cc=number6@the-village.bc.nu \
--cc=torvalds@transmeta.com \
--cc=whawes@star.net \
/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