mirror of
https://github.com/golang/go
synced 2024-10-07 11:21:22 -06:00
[dev.power64] runtime: define page size on power64le systems to be 64k
Fixes #8495. CL 128260043 updated the definition of syscall.GetPageSize to report 64k for power64 and power64le. This CL cleans up the last place where the page size was defined as 4k. LGTM=minux R=rsc, minux CC=golang-codereviews https://golang.org/cl/123520043
This commit is contained in:
parent
249e8f700a
commit
f9fdc887ae
@ -7,7 +7,7 @@ enum {
|
|||||||
BigEndian = 0,
|
BigEndian = 0,
|
||||||
CacheLineSize = 64,
|
CacheLineSize = 64,
|
||||||
RuntimeGogoBytes = 64,
|
RuntimeGogoBytes = 64,
|
||||||
PhysPageSize = 4096,
|
PhysPageSize = 65536,
|
||||||
PCQuantum = 4,
|
PCQuantum = 4,
|
||||||
Int64Align = 8
|
Int64Align = 8
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user