Get the latest tech news

New Linux Patches Allow Manipulating Out-Of-Memory Behavior Using BPF


Google engineer Roman Gushchin has proposed the ability for the Linux kernel to customize the out-of-memory 'OOM' behavior using BPF programs.

Google engineer Roman Gushchin has proposed the ability for the Linux kernel to customize the out-of-memory "OOM" behavior using BPF programs. Under the patches proposed today, the Linux kernel out-of-memory handling policy could be manipulated via BPF programs as well as Pressure Stall Information (PSI) based OOM invocation. The common idea was to use userspace daemons to implement custom OOM logic as well as rely on PSI monitoring to avoid stalls.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of Memory

Memory

Photo of behavior

behavior

Photo of New Linux

New Linux

Related news:

News photo

Claude Sonnet's memory gets a big boost with 1M tokens of context

News photo

New schizophrenia drug improves symptoms current drugs can’t touch | A novel drug, Evenamide, quieted overactive brain circuits in an animal model of schizophrenia, improving memory, social interaction, and dopamine balance.

News photo

Writing a storage engine for Postgres: An in-memory table access method (2023)