<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/new-linux-patches-aim-to-customize-out-of-memory-behavior-using-bpf-41vq4legb" -->

---
title: New Linux Patches Aim To Customize Out-Of-Memory...
description: New Linux patches introduce the ability to customize the out-of-memory (OOM) behavior using BPF programs. The patches focus on allowing flexible OOM handling...
canonical: https://daily.dev/posts/new-linux-patches-aim-to-customize-out-of-memory-behavior-using-bpf-41vq4legb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: New Linux Patches Aim To Customize Out-Of-Memory Behavior Using BPF | daily.dev
og:description: New Linux patches introduce the ability to customize the out-of-memory (OOM) behavior using BPF programs. The patches focus on allowing flexible OOM handling...
og:url: https://daily.dev/posts/new-linux-patches-aim-to-customize-out-of-memory-behavior-using-bpf-41vq4legb
og:image: https://api.daily.dev/og/posts/41vq4legB.png
og:image:alt: New Linux Patches Aim To Customize Out-Of-Memory Behavior Using BPF
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# New Linux Patches Aim To Customize Out-Of-Memory Behavior Using BPF

**[Phoronix](https://daily.dev/sources/phoronix)** · 2 min read · 0 upvotes · 0 comments

## Summary

New Linux patches introduce the ability to customize the out-of-memory (OOM) behavior using BPF programs. The patches focus on allowing flexible OOM handling policies and PSI-based OOM invocation. Unlike previous proposals, this approach aims to be more generic, enabling more precise control over memory management, such as task selection or memory cgroup handling. This eliminates the need for additional userspace daemons and infrastructure, offering a more integrated solution within the kernel.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.phoronix.com/news/Customize-Linux-OOM-Using-BPF>

---

Tags: [#open-source](https://daily.dev/tags/open-source), [#linux](https://daily.dev/tags/linux)

[View this post on daily.dev](https://daily.dev/posts/new-linux-patches-aim-to-customize-out-of-memory-behavior-using-bpf-41vq4legb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"New Linux Patches Aim To Customize Out-Of-Memory Behavior Using BPF","url":"https://daily.dev/posts/new-linux-patches-aim-to-customize-out-of-memory-behavior-using-bpf-41vq4legb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/new-linux-patches-aim-to-customize-out-of-memory-behavior-using-bpf-41vq4legb"},"datePublished":"2025-04-28T09:52:58.126Z","dateModified":"2025-04-28T09:53:13.145Z","description":"New Linux patches introduce the ability to customize the out-of-memory (OOM) behavior using BPF programs. The patches focus on allowing flexible OOM handling...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/092e730ac9128a207dc54268a12d8fc4?_a=AQAEuj9","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/092e730ac9128a207dc54268a12d8fc4?_a=AQAEuj9","isAccessibleForFree":true,"articleSection":"Phoronix","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Phoronix","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6a26ba379dd64932830aa0c9803dd7ee","url":"https://daily.dev/sources/phoronix"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/new-linux-patches-aim-to-customize-out-of-memory-behavior-using-bpf-41vq4legb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"open-source,linux","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Phoronix","item":"https://daily.dev/sources/phoronix"},{"@type":"ListItem","position":3,"name":"New Linux Patches Aim To Customize Out-Of-Memory Behavior Using BPF"}]}
```

