commit | 295a4d8e6433e8a8b6df25375fb780b0f75ff4e6 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Sat Dec 22 15:06:28 2012 -0500 |
committer | Russ Cox <rsc@golang.org> | Sat Dec 22 15:06:28 2012 -0500 |
tree | a2fa377940f50d9361a0adba2c74a71f55c23a25 | |
parent | 0de71619ce591d79297ae609362a8ac1cdb5fe46 [diff] |
runtime: ignore failure from madvise When we release memory to the OS, if the OS doesn't want us to release it (for example, because the program executed mlockall(MCL_FUTURE)), madvise will fail. Ignore the failure instead of crashing. Fixes #3435. R=ken2 CC=golang-dev https://golang.org/cl/6998052