var runtime.physPageSize
37 uses
runtime (current package)
malloc.go#L329: var physPageSize uintptr
malloc.go#L436: if physPageSize == 0 {
malloc.go#L440: if physPageSize > maxPhysPageSize {
malloc.go#L441: print("system page size (", physPageSize, ") is larger than maximum page size (", maxPhysPageSize, ")\n")
malloc.go#L444: if physPageSize < minPhysPageSize {
malloc.go#L445: print("system page size (", physPageSize, ") is smaller than minimum page size (", minPhysPageSize, ")\n")
malloc.go#L448: if physPageSize&(physPageSize-1) != 0 {
malloc.go#L449: print("system page size (", physPageSize, ") must be a power of 2\n")
malloc.go#L760: size = physPageSize
malloc.go#L1429: if pEnd := alignUp(l.next-1, physPageSize); pEnd > l.mapped {
mgcscavenge.go#L135: retainedGoal = (retainedGoal + uint64(physPageSize) - 1) &^ (uint64(physPageSize) - 1)
mgcscavenge.go#L153: if retainedNow <= retainedGoal || retainedNow-retainedGoal < uint64(physPageSize) {
mgcscavenge.go#L304: released = mheap_.pages.scavenge(physPageSize, true)
mgcscavenge.go#L318: if released < physPageSize {
mgcscavenge.go#L337: crit = approxCritNSPerPhysicalPage * float64(released/physPageSize)
mgcscavenge.go#L591: minPages := physPageSize / pageSize
mgcscavenge.go#L926: if physHugePageSize > pageSize && physHugePageSize > physPageSize {
mheap.go#L1132: needPhysPageAlign := physPageAlignedStacks && typ == spanAllocStack && pageSize < physPageSize
mheap.go#L1166: npages += physPageSize / pageSize
mheap.go#L1191: base = alignUp(allocBase, physPageSize)
mheap.go#L1192: npages -= physPageSize / pageSize
mheap.go#L1341: nBase := alignUp(end, physPageSize)
mheap.go#L1384: nBase = alignUp(h.curArena.base+ask, physPageSize)
mpagealloc_64bit.go#L77: b := alignUp(uintptr(entries)*pallocSumBytes, physPageSize)
mpagealloc_64bit.go#L117: baseOffset := alignDown(uintptr(sumIdxBase)*pallocSumBytes, physPageSize)
mpagealloc_64bit.go#L118: limitOffset := alignUp(uintptr(sumIdxLimit)*pallocSumBytes, physPageSize)
os_darwin.go#L130: physPageSize = getPageSize()
os_darwin.go#L302: mlock(unsafe.Pointer(mp.gsignal.stack.hi-physPageSize), physPageSize)
runtime.go#L56: func syscall_Getpagesize() int { return int(physPageSize) }
signal_unix.go#L647: if n > physPageSize-pc%physPageSize {
signal_unix.go#L648: n = physPageSize - pc%physPageSize
stack.go#L343: n = uint32(alignUp(uintptr(n), physPageSize))
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |