From: Luca Boccassi Date: Wed, 28 Jun 2023 13:43:54 +0000 (+0100) Subject: NEWS: mention that sd_event_trim_memory can be overridden X-Git-Tag: v254-rc1~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=198aff766324d284ea19c0e8038eee0c3301988a;p=thirdparty%2Fsystemd.git NEWS: mention that sd_event_trim_memory can be overridden --- diff --git a/NEWS b/NEWS index bf6306b89d9..0fbb4c143f3 100644 --- a/NEWS +++ b/NEWS @@ -287,7 +287,8 @@ CHANGES WITH 254 in spe: configuring an event source that is called whenever the OS signals memory pressure. Another call sd_event_trim_memory() is provided that compacts the process' memory use by releasing allocated but unused - malloc() memory back to the kernel. This should improve system + malloc() memory back to the kernel. Services can also provide their + own custom callback to do memory trimming. This should improve system behaviour under memory pressure, as on Linux traditionally provided no mechanism to return process memory back to the kernel if the kernel was under pressure to acquire some. This makes use of the kernel's PSI