RE: [PATCH v4 00/11] usbip: features to USB over WebSocket
Dear Valentina, I'm preparing 2 sets of patches. 1) cleanups, fixings and workarounds to WebSocket patch set and previous code. - no critical modification included. 2) number of ports extension in vhci side - I think it was talked in 'usbredir' e-mail thread. I wrote these on WebSocket patch set. Will the WebSocket patch set be merged? Could I send new sets above as patches to WebSocket patch set? Please, give some advice. Thank you, n.iwata // -Original Message- From: Valentina Manea [mailto:valentina.mane...@gmail.com] Sent: Friday, June 05, 2015 10:40 PM To: fx IWATA NOBUO Cc: Shuah Khan; Greg KH; linux-usb@vger.kernel.org; fx MICHIMURA TADAO Subject: Re: [PATCH v4 00/11] usbip: features to USB over WebSocket --- snip --- Acked-by: Valentina Manea valentina.mane...@gmail.com mailto:valentina.mane...@gmail.com
Re: [PATCH v4 00/11] usbip: features to USB over WebSocket
On Thu, 2015-05-28 at 14:56 +0900, Nobuo Iwata wrote: Dear all, This series of patches introduces WebSocket to USB/IP. Hi, how do you avoid deadlocking under memory pressure? It seems to me that under these semantics you can no longer guarantee GFP_NOIO if usb-storage or UAS are used, because you have no control over memory allocations user space makes. Regards Oliver -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: [PATCH v4 00/11] usbip: features to USB over WebSocket
Hi, how do you avoid deadlocking under memory pressure? It seems to me that under these semantics you can no longer guarantee GFP_NOIO if usb-storage or UAS are used, because you have no control over memory allocations user space makes. Sorry, I haven't cared the case. I found GFP_NOIO allocation in usbip_common.c:usbip_recv(). It is used for kernel mode transfer in existing code before this series. It is not used when switched to userspace transfer introduced by this series. Outside this series, I will study the reason why GFP_NOIO is used. Thank you, n.iwata // N�r��yb�X��ǧv�^�){.n�+{��^n�r���z���h����G���h�(�階�ݢj���m��z�ޖ���f���h���~�m�