- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for sysUser (0.37 sec)
-
src/runtime/mem.go
// sysUnused memory region are considered forfeit and the region must not be // accessed again until sysUsed is called. func sysUnused(v unsafe.Pointer, n uintptr) { gcController.mappedReady.Add(-int64(n)) sysUnusedOS(v, n) } // sysUsed transitions a memory region from Prepared to Ready. It notifies the // operating system that the memory region is needed and ensures that the region
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 6.7K bytes - Viewed (0) -
src/runtime/mpagealloc_64bit.go
if need.size() == 0 { continue } // Map and commit need. sysMap(unsafe.Pointer(need.base.addr()), need.size(), p.sysStat) sysUsed(unsafe.Pointer(need.base.addr()), need.size(), need.size()) p.summaryMappedReady += need.size() } // Update the scavenge index. p.summaryMappedReady += p.scav.index.sysGrow(base, limit, p.sysStat) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 03 11:00:10 UTC 2024 - 9.3K bytes - Viewed (0) -
src/runtime/mpagealloc_32bit.go
if reservation == nil { throw("failed to reserve page summary memory") } // There isn't much. Just map it and mark it as used immediately. sysMap(reservation, totalSize, p.sysStat) sysUsed(reservation, totalSize, totalSize) p.summaryMappedReady += totalSize // Iterate over the reservation and cut it up into slices. // // Maintain i as the byte offset from reservation where
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 20 20:08:25 UTC 2023 - 4.6K bytes - Viewed (0)