Re: [PATCH bpf 4/4] bpf: use __vmalloc_node_range() with VM_TRY_HUGE_VMAP for bpf_prog_pack
From: Song Liu <hidden>
Date: 2022-03-31 00:32:05
Also in:
bpf, linux-mm
From: Song Liu <hidden>
Date: 2022-03-31 00:32:05
Also in:
bpf, linux-mm
On Mar 30, 2022, at 5:00 PM, Thomas Gleixner [off-list ref] wrote: On Wed, Mar 30 2022 at 15:56, Song Liu wrote:quoted
We cannot yet savely enable HAVE_ARCH_HUGE_VMAP for all vmalloc in X86_64. Let bpf_prog_pack to call __vmalloc_node_range() with VM_TRY_HUGE_VMAP directly.Again, this changelog lacks any form of reasoning and justification. Aside of that there is absolutely nothing x86_64 specific in the patch. You might know all the details behind this change today, but will you be able to make sense of the above half a year from now? Even if you can, then anyone else is left in the dark. Thanks, tglx
I will provide more information in the next version. Thanks, Song