Re: [added to the 3.18 stable tree] xen/gntdevt: Fix race condition in gntdev_release()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27/08/15 18:15, Marek Marczykowski-Górecki wrote:
> On Thu, Aug 27, 2015 at 11:37:44AM -0400, Sasha Levin wrote:
>> From: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
>>
>> This patch has been added to the 3.18 stable tree. If you have any
>> objections, please let us know.
> 
> On 3.18 it should be spin_lock, not mutex_lock.
> Modified patch here:
> https://raw.githubusercontent.com/QubesOS/qubes-linux-kernel/stable-3.18/patches.xen/0001-xen-grant-fix-race-condition-in-gntdev_release.patch

No.  Because this results in a sleep while holding the spin lock (in
free_xenballooned_pages()).

1401c00e59ea021c575f74612fe2dbba36d6a4ee (xen/gntdev: convert priv->lock
to a mutex) is a prerequisite.

David
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]