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

Joe Thornber thornber at redhat.com
Thu May 26 12:52:31 UTC 2011


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.




More information about the dm-devel mailing list