]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
NEWS: mention that sd_event_trim_memory can be overridden
authorLuca Boccassi <bluca@debian.org>
Wed, 28 Jun 2023 13:43:54 +0000 (14:43 +0100)
committerLuca Boccassi <bluca@debian.org>
Wed, 28 Jun 2023 13:43:54 +0000 (14:43 +0100)
NEWS

diff --git a/NEWS b/NEWS
index bf6306b89d9ff7f764fb067c0571a6a2f743f3ca..0fbb4c143f31271739d5921f82252f11b0a20fff 100644 (file)
--- 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