[PATCH bpf-next v2 2/4] riscv, bpf: Using kvcalloc to allocate cache buffer

Björn Töpel bjorn at kernel.org
Tue Jan 30 08:05:03 PST 2024


Pu Lehui <pulehui at huaweicloud.com> writes:

> From: Pu Lehui <pulehui at huawei.com>
>
> It is unnecessary to allocate continuous physical memory for cache
> buffer, and when ebpf program is too large, it may cause memory
> allocation failure.
>
> Signed-off-by: Pu Lehui <pulehui at huawei.com>

Acked-by: Björn Töpel <bjorn at kernel.org>



More information about the linux-riscv mailing list