From: Nick Piggin <npiggin@suse.de>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Hugh Dickins <hugh@veritas.com>,
linux-arch@vger.kernel.org,
Linux Memory Management List <linux-mm@kvack.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Subject: Re: [rfc] data race in page table setup/walking?
Date: Fri, 2 May 2008 03:43:37 +0200 [thread overview]
Message-ID: <20080502014337.GA11844@wotan.suse.de> (raw)
In-Reply-To: <alpine.LFD.1.10.0805011832010.5994@woody.linux-foundation.org>
On Thu, May 01, 2008 at 06:33:45PM -0700, Linus Torvalds wrote:
>
>
> On Fri, 2 May 2008, Nick Piggin wrote:
> >
> > I guess it is possible. But at least in the case of write address, you'd
> > have to wait for later stores anyway in order to do the alias detection,
> > which might be the most common case.
>
> No, just the *address*. The data for the second store may not be ready,
> but the address may have been resolved (and checked that it doesn't fault
> etc) and the previous store may complete.
Yes in the case of other dependencies I agreed that it would be possible.
In the case of just address it doesn't really make sense.
WARNING: multiple messages have this Message-ID (diff)
From: Nick Piggin <npiggin@suse.de>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Hugh Dickins <hugh@veritas.com>,
linux-arch@vger.kernel.org,
Linux Memory Management List <linux-mm@kvack.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Subject: Re: [rfc] data race in page table setup/walking?
Date: Fri, 2 May 2008 03:43:37 +0200 [thread overview]
Message-ID: <20080502014337.GA11844@wotan.suse.de> (raw)
In-Reply-To: <alpine.LFD.1.10.0805011832010.5994@woody.linux-foundation.org>
On Thu, May 01, 2008 at 06:33:45PM -0700, Linus Torvalds wrote:
>
>
> On Fri, 2 May 2008, Nick Piggin wrote:
> >
> > I guess it is possible. But at least in the case of write address, you'd
> > have to wait for later stores anyway in order to do the alias detection,
> > which might be the most common case.
>
> No, just the *address*. The data for the second store may not be ready,
> but the address may have been resolved (and checked that it doesn't fault
> etc) and the previous store may complete.
Yes in the case of other dependencies I agreed that it would be possible.
In the case of just address it doesn't really make sense.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2008-05-02 1:43 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-29 5:00 [rfc] data race in page table setup/walking? Nick Piggin
2008-04-29 5:00 ` Nick Piggin
2008-04-29 5:00 ` Nick Piggin
[not found] ` <20080429050054.GC21795-B4tOwbsTzaBolqkO4TVVkw@public.gmane.org>
2008-04-29 5:08 ` Benjamin Herrenschmidt
2008-04-29 5:08 ` Benjamin Herrenschmidt
2008-04-29 5:08 ` Benjamin Herrenschmidt
2008-04-29 5:41 ` Nick Piggin
2008-04-29 5:41 ` Nick Piggin
2008-04-29 5:41 ` Nick Piggin
2008-04-29 10:56 ` David Miller
2008-04-29 10:56 ` David Miller, Nick Piggin
2008-04-29 10:56 ` David Miller
2008-04-29 12:36 ` Hugh Dickins
2008-04-29 12:36 ` Hugh Dickins
2008-04-29 12:36 ` Hugh Dickins
[not found] ` <Pine.LNX.4.64.0804291333540.22025-popGQ1T0qN76K7/ahGyk6A@public.gmane.org>
2008-04-29 21:37 ` Benjamin Herrenschmidt
2008-04-29 21:37 ` Benjamin Herrenschmidt
2008-04-29 21:37 ` Benjamin Herrenschmidt
2008-04-29 22:47 ` Hugh Dickins
2008-04-29 22:47 ` Hugh Dickins
2008-04-29 22:47 ` Hugh Dickins
[not found] ` <Pine.LNX.4.64.0804292328110.23470-popGQ1T0qN76K7/ahGyk6A@public.gmane.org>
2008-04-30 0:09 ` Benjamin Herrenschmidt
2008-04-30 0:09 ` Benjamin Herrenschmidt
2008-04-30 0:09 ` Benjamin Herrenschmidt
2008-04-30 6:03 ` Nick Piggin
2008-04-30 6:03 ` Nick Piggin
2008-04-30 6:03 ` Nick Piggin
[not found] ` <20080430060340.GE27652-B4tOwbsTzaBolqkO4TVVkw@public.gmane.org>
2008-04-30 6:05 ` David Miller
2008-04-30 6:05 ` David Miller, Nick Piggin
2008-04-30 6:05 ` David Miller
[not found] ` <20080429.230543.98200575.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-04-30 6:17 ` Nick Piggin
2008-04-30 6:17 ` Nick Piggin
2008-04-30 6:17 ` Nick Piggin
2008-04-30 11:14 ` Hugh Dickins
2008-04-30 11:14 ` Hugh Dickins
2008-04-30 11:14 ` Hugh Dickins
[not found] ` <Pine.LNX.4.64.0804301140490.4651-popGQ1T0qN76K7/ahGyk6A@public.gmane.org>
2008-05-01 0:35 ` Nick Piggin
2008-05-01 0:35 ` Nick Piggin
2008-05-01 0:35 ` Nick Piggin
[not found] ` <20080501003542.GB11312-B4tOwbsTzaBolqkO4TVVkw@public.gmane.org>
2008-05-01 12:45 ` Hugh Dickins
2008-05-01 12:45 ` Hugh Dickins
2008-05-01 12:45 ` Hugh Dickins
2008-04-30 15:53 ` Linus Torvalds
2008-04-30 15:53 ` Linus Torvalds
2008-04-30 15:53 ` Linus Torvalds
[not found] ` <alpine.LFD.1.10.0804300848390.2997-5CScLwifNT1QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
2008-05-01 0:29 ` Nick Piggin
2008-05-01 0:29 ` Nick Piggin
2008-05-01 0:29 ` Nick Piggin
[not found] ` <20080501002955.GA11312-B4tOwbsTzaBolqkO4TVVkw@public.gmane.org>
2008-05-01 3:24 ` Linus Torvalds
2008-05-01 3:24 ` Linus Torvalds
2008-05-01 3:24 ` Linus Torvalds
2008-05-02 1:20 ` Nick Piggin
2008-05-02 1:20 ` Nick Piggin
2008-05-02 1:33 ` Linus Torvalds
2008-05-02 1:33 ` Linus Torvalds
2008-05-02 1:43 ` Nick Piggin [this message]
2008-05-02 1:43 ` Nick Piggin
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=20080502014337.GA11844@wotan.suse.de \
--to=npiggin@suse.de \
--cc=benh@kernel.crashing.org \
--cc=hugh@veritas.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-mm@kvack.org \
--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 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.