Re: Lockless uidinfo.
- From: Maciej Sobczak <prog@xxxxxxxxxxxx>
- Date: Tue, 21 Aug 2007 23:12:00 +0200
John Baldwin wrote:
Memory barriers on another CPU don't mean anything about the CPU thread 2 is on.
Of course they do. Otherwise they would be completely useless.
> Memory barriers do not flush caches on other CPUs, etc.
Membars are not about caches, but about visibility and ordering. Cache is transparent and that is guaranteed by hardware - there is no need to involve any software tricks to make cache work correctly. You can influence their performance, but not correctness.
--
Maciej Sobczak : http://www.msobczak.com/
Programming : http://www.msobczak.com/prog/
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Lockless uidinfo.
- From: John Baldwin
- Re: Lockless uidinfo.
- References:
- Lockless uidinfo.
- From: Pawel Jakub Dawidek
- Re: Lockless uidinfo.
- From: Alfred Perlstein
- Re: Lockless uidinfo.
- From: Pawel Jakub Dawidek
- Re: Lockless uidinfo.
- From: John Baldwin
- Lockless uidinfo.
- Prev by Date: Re: Lockless uidinfo.
- Next by Date: Re: Lockless uidinfo.
- Previous by thread: Re: Lockless uidinfo.
- Next by thread: Re: Lockless uidinfo.
- Index(es):