Descriptionruntime: 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 issue 3435.
Patch Set 1 #Patch Set 2 : diff -r 91f2c8a77c8d https://code.google.com/p/go/ #Patch Set 3 : diff -r 91f2c8a77c8d https://code.google.com/p/go/ #
MessagesTotal messages: 3
|