mirror of
https://github.com/systemd/systemd
synced 2024-10-07 00:30:59 +00:00
NEWS: mention that sd_event_trim_memory can be overridden
This commit is contained in:
parent
acf678deca
commit
198aff7663
3
NEWS
3
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
|
||||
|
|
Loading…
Reference in a new issue