From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Thornber Subject: Re: [PATCH] Remove the spinlock protecting the pages allocation Date: Thu, 26 May 2011 13:52:31 +0100 Message-ID: <1306414351.3179.2.camel@ubuntu> References: <1306141147.3404.4.camel@ubuntu> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Mikulas Patocka Cc: device-mapper development , "Alasdair G. Kergon" List-Id: dm-devel.ids 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.