[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210312092938.GA2412021@infradead.org>
Date: Fri, 12 Mar 2021 09:29:38 +0000
From: Christoph Hellwig <hch@...radead.org>
To: Jianqun Xu <jay.xu@...k-chips.com>
Cc: cl@...ux.co, penberg@...nel.org, rientjes@...gle.com,
iamjoonsoo.kim@....com, akpm@...ux-foundation.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
linux-rockchip@...ts.infradead.org
Subject: Re: [PATCH] mm/slab: kmalloc with GFP_DMA32 allocate from
SLAB_CACHE_DMA32
On Fri, Mar 12, 2021 at 04:03:20PM +0800, Jianqun Xu wrote:
> The flag GFP_DMA32 only effect in kmalloc_large currently.
>
> This patch will create caches with GFP_DMA32 to support kmalloc with
> size under KMALLOC_MAX_CACHE_SIZE.
No. No new code should use GFP_DMA32, never mind through slab.
Please use the proper DMA APIs for your addressing needs.
Powered by blists - more mailing lists