Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1241465
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] x86: cmpxchg_double: Add missing memory clobber |
| Date | 2015-10-07 15:10 +0200 |
| Message-ID | <qgWDL-5In-1@gated-at.bofh.it> (permalink) |
| References | <qgFCW-6fq-9@gated-at.bofh.it> <qgGSn-8hZ-27@gated-at.bofh.it> <qgH22-8u5-9@gated-at.bofh.it> <qgI7M-1zn-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Oct 06, 2015 at 02:39:02PM -0700, H. Peter Anvin wrote: > However, I think one of the major uses for cmpxchg_double() is for page > table manipulation, and for that it isn't clear that a compiler barrier > is needed nor desired. See mm/slub.c, that uses cmpxchg_double() (the LOCK prefixed one) and one would expect that to also include a compiler barrier. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] x86: cmpxchg_double: Add missing memory clobber Pranith Kumar <bobby.prani@gmail.com> - 2015-10-06 21:00 +0200
Re: [PATCH] x86: cmpxchg_double: Add missing memory clobber "H. Peter Anvin" <hpa@zytor.com> - 2015-10-06 22:20 +0200
Re: [PATCH] x86: cmpxchg_double: Add missing memory clobber Pranith Kumar <bobby.prani@gmail.com> - 2015-10-06 22:30 +0200
Re: [PATCH] x86: cmpxchg_double: Add missing memory clobber "H. Peter Anvin" <hpa@zytor.com> - 2015-10-06 23:40 +0200
Re: [PATCH] x86: cmpxchg_double: Add missing memory clobber Peter Zijlstra <peterz@infradead.org> - 2015-10-07 15:10 +0200
csiph-web