Mikulas Patocka wrote:
Why should they waste their (already complex) decoding logic with that? Why can't an application instead set a bit somewhere if it's running on SMP and if it's threaded and branch to variants with and without lock prefix?
Why? Because it would make the same code run faster on their CPU than on their competitor's. That's the kind of things that make x86 vendors smile.
-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: Mikulas Patocka <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- Prev by Date: [PATCH 2/3] move swiotlb header file into common code - x86-64 bits
- Next by Date: [PATCH 1/3] move swiotlb header file into common code - generic bits
- Previous by thread: Re: [patch] SMP alternatives
- Next by thread: Re: [patch] SMP alternatives
- Index(es):