Slab Allocator Hint Mechanism
include/mem/slab_hint.h View source View on GitHubStructs
Section titled “Structs”slab_hint_param
Section titled “slab_hint_param”struct slab_hint_param {
uint64_t param1;
}; slab_hint_type
Section titled “slab_hint_type”enum slab_hint_type {
SLAB_HINT_ALLOCS_SOON,
SLAB_HINT_FREES_SOON,
}; slab_hint_error
Section titled “slab_hint_error”enum slab_hint_error {
SLAB_HINT_OK,
}; Functions
Section titled “Functions”slab_hint
Section titled “slab_hint”enum slab_hint_error slab_hint(enum slab_hint_type, struct slab_hint_param);