File 0379-Add-doc-explaining-calculation-of-system_memory_high.patch of Package erlang

From 6a41f5b8fbf1af3e5c69022fdb3ff0bf9aae51aa Mon Sep 17 00:00:00 2001
From: Maas-Maarten Zeeman <mmzeeman@xs4all.nl>
Date: Thu, 17 Oct 2024 11:36:35 +0200
Subject: [PATCH 2/2] Add doc explaining calculation of
 system_memory_high_watermark depends on os

---
 lib/os_mon/src/memsup.erl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/os_mon/doc/src/memsup.xml b/lib/os_mon/doc/src/memsup.xml
index be8188989c..6bd6f7df06 100644
--- a/lib/os_mon/doc/src/memsup.xml
+++ b/lib/os_mon/doc/src/memsup.xml
@@ -40,7 +40,9 @@
       <item>
         <p>If more than a certain amount of available system memory is
           allocated, as reported by the underlying operating system,
-          the alarm <c>{system_memory_high_watermark, []}</c> is set.</p>
+          the alarm <c>{system_memory_high_watermark, []}</c> is set.
+          How the amount of available memory is determined depends on
+          the underlying OS and may change as better values become available.</p>
       </item>
       <item>
         <p>If any Erlang process <c>Pid</c> in the system has allocated
-- 
2.43.0

openSUSE Build Service is sponsored by