summaryrefslogtreecommitdiff
path: root/src/runtime/lfstack.go
Commit message (Collapse)AuthorAgeFilesLines
* [dev.garbage] all: merge dev.cc (493ad916c3b1) into dev.garbageRuss Cox2014-11-241-0/+4
|\ | | | | | | | | | | TBR=austin CC=golang-codereviews https://codereview.appspot.com/179290043
| * [dev.cc] runtime: allow more address bits in lfstack on Power64Austin Clements2014-11-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, lfstack assumed Linux limited user space addresses to 43 bits on Power64 based on a paper from 2001. It turns out the limit is now 46 bits, so lfstack was truncating pointers. Raise the limit to 48 bits (for some future proofing and to make it match amd64) and add a self-test that will fail in a useful way if ever unpack(pack(x)) != x. With this change, dev.cc passes all.bash on power64le. LGTM=rsc R=rsc CC=golang-codereviews https://codereview.appspot.com/174430043
* | [dev.garbage] all: merge dev.cc into dev.garbageRuss Cox2014-11-151-7/+3
|/ | | | | | | | | | | | The garbage collector is now written in Go. There is plenty to clean up (just like on dev.cc). all.bash passes on darwin/amd64, darwin/386, linux/amd64, linux/386. TBR=rlh R=austin, rlh, bradfitz CC=golang-codereviews https://codereview.appspot.com/173250043
* [dev.cc] runtime: fix lfstack for amd64 addresses in top half of addr spaceRuss Cox2014-11-141-15/+4
| | | | | | | | | While we are here, add the linux/power64 version. LGTM=austin R=austin CC=aram, dvyukov, golang-codereviews https://codereview.appspot.com/177750043
* [dev.cc] runtime: convert parallel support code from C to GoRuss Cox2014-11-111-0/+51
The conversion was done with an automated tool and then modified only as necessary to make it compile and run. [This CL is part of the removal of C code from package runtime. See golang.org/s/dev.cc for an overview.] LGTM=r R=r, austin CC=dvyukov, golang-codereviews, iant, khr https://codereview.appspot.com/172250043