4 ms·
This already exists: applications can receive memory pressure events (such as the system reaching "medium" level, where you may want to start freeing some cache
by antientropic 7y ago
This already exists: applications can receive memory pressure events (such as the system reaching "medium" level, where you may want to start freeing some caches) via /sys/fs/cgroup/memory/.../memory.pressure_level. See https://www.kernel.org/doc/Documentation/cgroup-v1/memory.txt https://www.kernel.org/doc/Documentation/cgroup-v1/memory.tx....
- packetized 7y agoThe first two nota benes explicitly describe this document being outdated and not what most people expect when it comes to “memory controller”. I am not certain that citing this is a great example.
- Sean1708 7y agoWhat about this? Seems to do what they want. https://serverfault.com/a/949045 https://serverfault.com/a/949045