MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
memory
Search

[$] A memory allocator for BPF code

Friday February 4, 2022. 04:36 PM , from LWN.net
Loading a BPF program into the kernel involves a lot of steps, including
verification, permissions checking, linking to in-kernel helper functions,
and compilation to the native instruction format. Underneath all of that,
though, lies one other simple task: allocating some memory to store the
compiled BPF program in the kernel's address space. It turns out that this
allocation
can be somewhat wasteful of memory in current kernels, especially on
systems where large numbers of BPF programs are loaded. This
patch set from Song Liu seeks to remedy this problem by introducing yet
another specialized memory allocator into the kernel.
https://lwn.net/Articles/883454/rss
News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Apr, Fri 26 - 00:08 CEST