Re: [PATCH 1/4] cpuset: convert callback_mutex to a spinlock
From: Christoph Lameter
Date: Fri Sep 26 2014 - 11:44:54 EST
On Fri, 26 Sep 2014, Vladimir Davydov wrote:
> The callback_mutex is only used to synchronize reads/updates of cpusets'
> flags and cpu/node masks. These operations should always proceed fast so
> there's no reason why we can't use a spinlock instead of the mutex.
Checked that and given the other restrictions already on the use of
callback_mutex this is to be expected.
Acked-by: Christoph Lameter <cl@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/