[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
- From: Joe Thornber <thornber redhat com>
- To: Mikulas Patocka <mpatocka redhat com>
- Cc: device-mapper development <dm-devel redhat com>, "Alasdair G. Kergon" <agk redhat com>
- Subject: Re: [dm-devel] [PATCH] Remove the spinlock protecting the pages allocation
- Date: Thu, 26 May 2011 13:52:31 +0100
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]