[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190520055657.GA31866@infradead.org>
Date: Sun, 19 May 2019 22:56:57 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Jaewon Kim <jaewon31.kim@...il.com>
Cc: gregkh@...uxfoundation.org, m.szyprowski@...sung.com,
linux-mm@...ck.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org,
Jaewon Kim <jaewon31.kim@...sung.com>, ytk.lee@...sung.com
Subject: Re: [RFC PATCH] usb: host: xhci: allow __GFP_FS in dma allocation
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.
Powered by blists - more mailing lists