Messages in this thread |  | | | Date | Fri, 1 Jun 2012 10:57:14 -0500 (CDT) | | From | Christoph Lameter <> | | Subject | Re: [PATCH 4/4] slub: refactoring unfreeze_partials() |
| |
On Fri, 18 May 2012, Joonsoo Kim wrote:
> Minimizing code in do {} while loop introduce a reduced fail rate > of cmpxchg_double_slab. Below is output of 'slabinfo -r kmalloc-256' > when './perf stat -r 33 hackbench 50 process 4000 > /dev/null' is done.
Ok. This works because the pages are frozen and the node lock has been taken so the only concurrency to worry about is freeing of objects via slab_free(). The cmpxchg is safe for that.
Acked-by: Christoph Lameter <cl@linux.com>
|  |