[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [PATCH] Remove the spinlock protecting the pages allocation



On Thu, 2011-05-26 at 08:50 -0400, Mikulas Patocka wrote:
> There is another spinlock, kc->job_lock, that is taken each time
> someone 
> pushes or pops some work for the worker thread.
> 
> Once we take kc->job_lock, we guarantee that any written memory is 
> visible to the other CPUs. 

Good, thanks.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]