From: "Jan Beulich" Subject: unregister_xenbus_watch() handling of xenwatch_mutex Date: Thu, 18 Oct 2007 12:38:56 +0100 Message-ID: <471761F0.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 2.6.23 acquires the mutex before canceling pending events, whereas linux-2.6.18-xen acquires and releases the mutex back-to-back after doing the cancellation. It would seem to me that the former method is more robust, but otoh I'm wondering why this change then wasn't also made in the 2.6.18 tree. Thanks, Jan