[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: device-mapper development <dm-devel redhat com>
- Cc: "Alasdair G. Kergon" <agk redhat com>
- Subject: Re: [dm-devel] [PATCH] Remove the spinlock protecting the pages allocation
- Date: Mon, 23 May 2011 09:59:07 +0100
On Thu, 2011-05-19 at 12:58 -0400, Mikulas Patocka wrote:
> The spinlock is only taken on initialization or from single-threaded
> workqueue.
> Therefore, the spinlock is useless.
The spinlock has memory barrier semantics as well. How are you
guaranteeing the changes from the initialisation thread are visible in
the workqueue thread?
- Joe
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]