> > > > You already must not place any data structures into WC memory --- for > > > > example, spinlocks wouldn't work there. > > > > > > What do you mean "already"? > > > > I mean "in current kernel" (I checked it in 2.6.22) > > Ahh, that's not "current kernel", though ;) > > 4071c718555d955a35e9651f77086096ad87d498 > > > So drivers can't assume that wmb() works on write-combining memory. > > Drivers should be able to assume that wmb() orders _everything_ (except > some whacky Altix thing, which I really want to fold under wmb at some > point anyway). > > So I decided that old x86 semantics isn't right, and now it really is a > lock op / sfence everywhere. I see. I'm just curious --- is there any real usage for WC memory, except graphics card memory? Mikulas - 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:
- LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)
- From: Mikulas Patocka <[email protected]>
- Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)
- From: Arjan van de Ven <[email protected]>
- Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)
- From: Mikulas Patocka <[email protected]>
- Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)
- From: Nick Piggin <[email protected]>
- Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)
- From: Mikulas Patocka <[email protected]>
- Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)
- From: Nick Piggin <[email protected]>
- Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)
- From: Mikulas Patocka <[email protected]>
- Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)
- From: Nick Piggin <[email protected]>
- Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)
- From: Mikulas Patocka <[email protected]>
- Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)
- From: Nick Piggin <[email protected]>
- LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)
- Prev by Date: wait_for_completion_interruptible() changes
- Next by Date: Re: [PATCH 0/3] Fix two PEIe hotplug issues
- Previous by thread: Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)
- Next by thread: Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers)
- Index(es):