Messages in this thread | | | Date | Tue, 31 Jul 2018 10:08:57 +0200 | From | Christoph Hellwig <> | Subject | Re: [PATCH v2 4/4] ARC: don't check for HIGHMEM pages in arch_dma_alloc |
| |
On Mon, Jul 30, 2018 at 07:26:36PM +0300, Eugeniy Paltsev wrote: > __GFP_HIGHMEM flag is cleared by upper layer functions > (in include/linux/dma-mapping.h) so we'll never get a > __GFP_HIGHMEM flag in arch_dma_alloc gfp argument. > That's why alloc_pages will never return highmem page > here. > > Get rid of highmem pages handling and cleanup arch_dma_alloc > and arch_dma_free functions. > > Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Looks good,
Reviewed-by: Christoph Hellwig <hch@lst.de>
| |