Re: [PATCH bpf] bpf, arm64: allocate program buffer using kvcalloc instead of kcalloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

On Thu,  4 Aug 2022 10:54:42 +0800 you wrote:
> It is not necessary to allocate contiguous physical memory for BPF
> program buffer using kcalloc. When the BPF program is large more than
> memory page size, kcalloc allocates multiple memory pages from buddy
> system. If the device can not provide sufficient memory, for example
> in low-end android devices[1], memory allocation for BPF program is likely
> failed.
> 
> [...]

Here is the summary with links:
  - [bpf] bpf, arm64: allocate program buffer using kvcalloc instead of kcalloc
    https://git.kernel.org/bpf/bpf/c/19f68ed6dc90

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux