Re: [RFC PATCH] usb: host: xhci: allow __GFP_FS in dma allocation

Oliver Neukum
2019-05-22T21:00:58Z

On Mi, 2019-05-22 at 10:56 -0400, Alan Stern wrote:
> On Wed, 22 May 2019, Oliver Neukum wrote:
>
> > I agree with the problem, but I fail to see why this issue would be
> > specific to USB. Shouldn't this be done in the device core layer?
>
> Only for drivers that are on the block-device writeback path. The
> device core doesn't know which drivers these are.

Neither does USB know. It is very hard to predict or even tell which
devices are block device drivers. I think we must assume that
any device may be affected.

Regards
Oliver