Documentation ¶
Overview ¶
Package hostmm provides tools for interacting with the host Linux kernel's virtual memory management subsystem.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotifyCurrentMemcgPressureCallback ¶
NotifyCurrentMemcgPressureCallback requests that f is called whenever the calling process' memory cgroup indicates memory pressure of the given level, as specified by Linux's Documentation/cgroup-v1/memory.txt.
If NotifyCurrentMemcgPressureCallback succeeds, it returns a function that terminates the requested memory pressure notifications. This function may be called at most once.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.