]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix description of SysAlloc
authorAnthony Martin <ality@pbrane.org>
Wed, 5 Jun 2013 00:12:29 +0000 (17:12 -0700)
committerAnthony Martin <ality@pbrane.org>
Wed, 5 Jun 2013 00:12:29 +0000 (17:12 -0700)
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/10010046

src/pkg/runtime/malloc.h

index 3338b0946fcb3898f8d53536f32aa50265a2a8b7..ba8036ab6884609e228925519dc3cfff33ea7dec 100644 (file)
@@ -153,8 +153,7 @@ struct MLink
 
 // SysAlloc obtains a large chunk of zeroed memory from the
 // operating system, typically on the order of a hundred kilobytes
-// or a megabyte.  If the pointer argument is non-nil, the caller
-// wants a mapping there or nowhere.
+// or a megabyte.
 //
 // SysUnused notifies the operating system that the contents
 // of the memory region are no longer needed and can be reused