]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/gntalloc: Change gref_lock to a mutex
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Thu, 27 Oct 2011 21:58:48 +0000 (17:58 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 2 Feb 2012 18:34:53 +0000 (13:34 -0500)
commit48ccd53695788afd3fe49f3cba39d41e070aa1d5
tree692daec799a62b4026bdd01eb371584927d94959
parente49871a9976ee01f6df1f562c4785587ae319dc9
xen/gntalloc: Change gref_lock to a mutex

The event channel release function cannot be called under a spinlock
because it can attempt to acquire a mutex due to the event channel
reference acquired when setting up unmap notifications.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/gntalloc.c