Commit 5de0c37e authored by Ian Lance Taylor's avatar Ian Lance Taylor

doc: go1.12: clarify use of MADV_FREE

Fixes #29337

Change-Id: I1d632d19058c63dac8e25d2a5ad55555c1aec9d4
Reviewed-on: https://go-review.googlesource.com/c/155438Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent ae68cf4c
...@@ -314,10 +314,9 @@ for { ...@@ -314,10 +314,9 @@ for {
</p> </p>
<p><!-- CL 135395 --> <p><!-- CL 135395 -->
On Linux, the Go runtime now releases memory back to the operating On Linux, the runtime now uses MADV_FREE to release unused
system only when the OS is under memory pressure. This is more memory. This is more efficient but may result in higher reported
efficient, but means a process's RSS (resident set size) won't RSS. The kernel will reclaim the unused data when it is needed.
decrease unless the OS is running out of memory.
</p> </p>
<p><!-- CL 149578 --> <p><!-- CL 149578 -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment