Re: [PATCHv2 4/4] slub: Relax CMPXCHG consistency restrictions

From: Christoph Lameter
Date: Tue Feb 16 2016 - 11:33:48 EST


On Mon, 15 Feb 2016, Laura Abbott wrote:

> 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.

Acked-by: Christoph Lameter <cl@xxxxxxxxx>