Re: [PATCH 2/8] USB: change locking for device-level autosuspend

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

 



Am Freitag, 8. Januar 2010 18:56:19 schrieb Alan Stern:
> This patch (as1323) changes the locking requirements for
> usb_autosuspend_device(), usb_autoresume_device(), and
> usb_try_autosuspend_device().  This isn't a very important change;
> mainly it's meant to make the locking more uniform.

This however affects memory allocation and access to user space.
You cannot access user space and memory must be allocated with
GFP_NOIO.
This should be documented and we need to audit the core.

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux