1
0
mirror of https://github.com/golang/go synced 2024-10-04 07:11:21 -06:00
go/src
Carlos Eduardo Seo aaa6b53524 runtime: insufficient padding in the p structure
The current padding in the 'p' struct is hardcoded at 64 bytes. It should be the
cache line size. On ppc64x, the current value is only okay because sys.CacheLineSize
is wrong at 64 bytes. This change fixes that by making the padding equal to the
cache line size. It also fixes the cache line size for ppc64/ppc64le to 128 bytes.

Fixes #16477

Change-Id: Ib7ec5195685116eb11ba312a064f41920373d4a3
Reviewed-on: https://go-review.googlesource.com/25370
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Minux Ma <minux@golang.org>
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-08-29 23:22:51 +00:00
..
archive archive/tar: isolate regular and sparse file handling as methods 2016-08-25 18:33:09 +00:00
bufio
builtin
bytes bytes: add examples 2016-08-16 01:33:32 +00:00
cmd cmd/go: for -msan build runtime/cgo with -fsanitize=memory 2016-08-29 22:49:16 +00:00
compress compress/flate: make huffmanBitWriter errors persistent 2016-08-20 00:36:40 +00:00
container container/list: silence vet warnings 2016-08-16 14:35:37 +00:00
context context: test WithCancel with canceled parent 2016-08-19 20:25:12 +00:00
crypto math/big: add assembly implementation of arith for ppc64{le} 2016-08-29 21:03:21 +00:00
database/sql database/sql: don't hang if the driver Exec method panics 2016-08-29 16:51:56 +00:00
debug cmd/objdump: implement objdump of .o files 2016-08-24 17:36:59 +00:00
encoding encoding/xml: do not ignore error return from copyValue 2016-08-22 18:01:47 +00:00
errors
expvar expvar: slightly expand documentation for Var's String method 2016-05-19 04:20:47 +00:00
flag flag: improve comment for calling String with zero value 2016-08-23 22:07:43 +00:00
fmt fmt: properly handle early io.EOF Reads in readRune.readByte 2016-07-16 19:14:58 +00:00
go cmd/compile: remove ignored bool from exported ODCL nodes 2016-08-29 18:07:47 +00:00
hash hash/crc32: fix nil Castagnoli table problem 2016-08-28 19:01:07 +00:00
html html/template: update security model link 2016-06-23 04:30:07 +00:00
image
index/suffixarray index/suffixarray: add Lookup example 2016-08-21 01:10:22 +00:00
internal internal/testenv: make MustHaveSymlink message friendly 2016-08-24 05:08:52 +00:00
io io: fix comment in test 2016-08-22 22:27:59 +00:00
log log/syslog: document that Dial uses net.Dial parameters, add example 2016-08-19 01:01:47 +00:00
math math/big: add assembly implementation of arith for ppc64{le} 2016-08-29 21:03:21 +00:00
mime mime/quotedprintable: add examples 2016-08-29 17:39:21 +00:00
net crypto/tls: add KeyLogWriter for debugging 2016-08-27 17:20:55 +00:00
os os: add example for OpenFile 2016-08-29 17:44:31 +00:00
path path/filepath: don't return SkipDir at top 2016-08-25 17:18:43 +00:00
reflect reflect: document equality guarantee for Type 2016-08-23 23:20:48 +00:00
regexp regexp: add some tests that were fixed in #12980 2016-08-16 18:36:43 +00:00
runtime runtime: insufficient padding in the p structure 2016-08-29 23:22:51 +00:00
sort
strconv strconv: clarify doc for Atoi return type 2016-06-28 18:16:25 +00:00
strings strings: add special cases for Join of 2 and 3 strings 2016-08-16 00:33:15 +00:00
sync all: fix assembly vet issues 2016-08-25 18:52:31 +00:00
syscall syscall: fix plan9/386 RawSyscall6 2016-08-26 00:20:34 +00:00
testing testing: respect benchtime on very fast benchmarks 2016-08-10 19:44:08 +00:00
text text/template: remove unused Tree.parse return value 2016-08-17 22:36:27 +00:00
time time: always use $GOROOT/lib/time/zoneinfo.zip with genzabbrs.go 2016-08-28 02:51:07 +00:00
unicode unicode: upgrade to version 9.0.0 2016-06-28 15:08:11 +00:00
unsafe unsafe: document use of &^ to round/align pointers 2016-08-18 16:45:17 +00:00
vendor/golang_org/x/net vendor: update vendored route 2016-08-24 00:14:58 +00:00
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: use go list to get pkg dir 2016-08-29 15:24:39 +00:00
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
make.bat build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
Make.dist
make.rc build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
run.bat build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
run.rc build: unset GOBIN during build 2016-05-19 18:40:53 +00:00