Dave Anderson on Nostr: Further nice "invisible" changes: fairly seamless integration into the kernel PSI ...
Further nice "invisible" changes: fairly seamless integration into the kernel PSI memory pressure subsystem, so you can request that systemd notifies your process when the kernel needs to reduce memory pressure, and implement load-shedding accordingly. Or for C stuff you can just haz a default reaction provided by systemd that returns idle malloc'd pages to the kernel when receiving a pressure signal.
Published at
2023-07-07 02:17:08Event JSON
{
"id": "78a48108393ae712ef8fb9ed7dd46348f34032ce697624f7d0373c186510f012",
"pubkey": "d2bca0280c4620e67261dec7efe7eec4b1ca32ed37c84958d6c76b57526132c5",
"created_at": 1688696228,
"kind": 1,
"tags": [
[
"e",
"f674eae2c44b98c29a266685fb57ac60b8fd811daf80ec487d5206390ef09aaa",
"wss://relay.mostr.pub",
"reply"
],
[
"mostr",
"https://hachyderm.io/users/danderson/statuses/110670396044444643"
]
],
"content": "Further nice \"invisible\" changes: fairly seamless integration into the kernel PSI memory pressure subsystem, so you can request that systemd notifies your process when the kernel needs to reduce memory pressure, and implement load-shedding accordingly. Or for C stuff you can just haz a default reaction provided by systemd that returns idle malloc'd pages to the kernel when receiving a pressure signal.",
"sig": "578d1a1e602cf8b0d5ef54330bebdf19b17c46095ab2de2fecb902f9a403da4904de18f34bf30ffb7075b349b43eb948f161470e1f08482b1ca3ca1bf08b60af"
}