Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Constant

BPF_F_NO_COMMON_LRU

Public Constant
std.os.linux.bpf.BPF_F_NO_COMMON_LRU
pub const BPF_F_NO_COMMON_LRU = 0x2

flag for BPF_MAP_CREATE command. Instead of having one common LRU list in the BPF_MAP_TYPE_LRU_[PERCPU_]HASH map, use a percpu LRU list which can scale and perform better. Note, the LRU nodes (including free nodes) cannot be moved across different LRU lists.

File

os/linux/bpf.zig:216
216
pub const BPF_F_NO_COMMON_LRU = 0x2