[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <YlT99YrkJyLVMdNH@infradead.org>
Date: Mon, 11 Apr 2022 21:20:05 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Song Liu <song@...nel.org>
Cc: bpf@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, ast@...nel.org, daniel@...earbox.net,
andrii@...nel.org, akpm@...ux-foundation.org,
rick.p.edgecombe@...el.com, hch@...radead.org,
imbrenda@...ux.ibm.com, mcgrof@...nel.org
Subject: Re: [PATCH v2 bpf 2/3] module: introduce module_alloc_huge
On Mon, Apr 11, 2022 at 04:35:47PM -0700, Song Liu wrote:
> Introduce module_alloc_huge, which allocates huge page backed memory in
> module memory space. The primary user of this memory is bpf_prog_pack
> (multiple BPF programs sharing a huge page).
I kow I lead you downthis road first, but I wonder if we just want to
pass a flag to module_alloc instead. This avoids duplicating all the
arch overrides.
Powered by blists - more mailing lists