Alan Cox wrote:
On Mer, 2005-11-23 at 13:36 -0800, Linus Torvalds wrote:have to add PAT support which we need to do anyway we would get a world where on uniprocessor lock prefix only works on addresse targets we want it to - ie pci_alloc_consistent() pages.No. That would be wrong. The thing is, "lock" is useless EVEN ON SMP in user space 99% of the time.Now I see what you are aiming at, yes that makes vast amounts of sense and since AMD have the "no lock effect" bit for general case maybe they can
What it really comes down to (virtualization or not!) is whether or not the OS can guarantee that nothing else is messing with memory at the same time.
This is potentially different from process to process (because of page table differences) and from kernel to user space (because of the User bit in the page tables.)
-hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Linus Torvalds <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Linus Torvalds <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Gerd Knorr <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Linus Torvalds <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Gerd Knorr <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Gerd Knorr <[email protected]>
- [RFC] SMP alternatives
- From: Gerd Knorr <[email protected]>
- [patch] SMP alternatives
- From: Gerd Knorr <[email protected]>
- Re: [patch] SMP alternatives
- From: Andi Kleen <[email protected]>
- Re: [patch] SMP alternatives
- From: Alan Cox <[email protected]>
- Re: [patch] SMP alternatives
- From: Andi Kleen <[email protected]>
- Re: [patch] SMP alternatives
- From: Alan Cox <[email protected]>
- Re: [patch] SMP alternatives
- From: Linus Torvalds <[email protected]>
- Re: [patch] SMP alternatives
- From: "H. Peter Anvin" <[email protected]>
- Re: [patch] SMP alternatives
- From: Linus Torvalds <[email protected]>
- Re: [patch] SMP alternatives
- From: Alan Cox <[email protected]>
- Re: [patch] SMP alternatives
- From: Linus Torvalds <[email protected]>
- Re: [patch] SMP alternatives
- From: Alan Cox <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- Prev by Date: Re: [patch] SMP alternatives
- Next by Date: Re: [patch] SMP alternatives
- Previous by thread: Re: [patch] SMP alternatives
- Next by thread: Re: [patch] SMP alternatives
- Index(es):