diff options
author | Laura Abbott <labbott@fedoraproject.org> | 2016-03-15 14:55:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-15 16:55:16 -0700 |
commit | 149daaf3a02c020ddae64668c3a1bd0c4f314d6a (patch) | |
tree | 15eed0b331aa233c311db7e74fc84dca35a20360 /sound/soc/spear | |
parent | becfda68abca673d61d5cc953e8e099816db99d9 (diff) | |
download | talos-obmc-linux-149daaf3a02c020ddae64668c3a1bd0c4f314d6a.tar.gz talos-obmc-linux-149daaf3a02c020ddae64668c3a1bd0c4f314d6a.zip |
slub: relax CMPXCHG consistency restrictions
When debug options are enabled, cmpxchg on the page is disabled. This
is because the page must be locked to ensure there are no false
positives when performing consistency checks. Some debug options such
as poisoning and red zoning only act on the object itself. There is no
need to protect other CPUs from modification on only the object. Allow
cmpxchg to happen with poisoning and red zoning are set on a slab.
Credit to Mathias Krause for the original work which inspired this
series
Signed-off-by: Laura Abbott <labbott@fedoraproject.org>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <js1304@gmail.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/soc/spear')
0 files changed, 0 insertions, 0 deletions