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

From: Christoph Hellwig
Date: Mon May 20 2019 - 01:59:23 EST


Folks, you can't just pass arbitary GFP_ flags to dma allocation
routines, beause very often they are not just wrappers around
the page allocator.

So no, you can't just fine grained control the flags, but the
existing code is just as buggy.

Please switch to use memalloc_noio_save() instead.