Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for physPageSize (0.2 sec)

  1. src/runtime/os_plan9.go

    	if fd >= 0 {
    		read(fd, unsafe.Pointer(&b), int32(len(b)))
    		closefd(fd)
    	}
    	c := b[:]
    	for c[0] == ' ' || c[0] == '\t' {
    		c = c[1:]
    	}
    	return uint64(_atoi(c))
    }
    
    func osinit() {
    	physPageSize = getPageSize()
    	initBloc()
    	ncpu = getproccount()
    	getg().m.procid = getpid()
    }
    
    //go:nosplit
    func crash() {
    	notify(nil)
    	*(*int)(nil) = 0
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/runtime/arena.go

    )
    
    func init() {
    	if userArenaChunkPages*pageSize != userArenaChunkBytes {
    		throw("user arena chunk size is not a multiple of the page size")
    	}
    	if userArenaChunkBytes%physPageSize != 0 {
    		throw("user arena chunk size is not a multiple of the physical page size")
    	}
    	if userArenaChunkBytes < heapArenaBytes {
    		if heapArenaBytes%userArenaChunkBytes != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  3. src/runtime/os_windows.go

    	preventErrorDialogs()
    
    	initExceptionHandler()
    
    	initHighResTimer()
    	timeBeginPeriodRetValue = osRelax(false)
    
    	initSysDirectory()
    	initLongPathSupport()
    
    	ncpu = getproccount()
    
    	physPageSize = getPageSize()
    
    	// Windows dynamic priority boosting assumes that a process has different types
    	// of dedicated threads -- GUI, IO, computational, etc. Go processes use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  4. src/runtime/mpagealloc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Page allocator.
    //
    // The page allocator manages mapped pages (defined by pageSize, NOT
    // physPageSize) for allocation and re-use. It is embedded into mheap.
    //
    // Pages are managed using a bitmap that is sharded into chunks.
    // In the bitmap, 1 means in-use, and 0 means free. The bitmap spans the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  5. src/runtime/stack.go

    	if n&(n-1) != 0 {
    		throw("stack size not a power of 2")
    	}
    	if stackDebug >= 1 {
    		print("stackalloc ", n, "\n")
    	}
    
    	if debug.efence != 0 || stackFromSystem != 0 {
    		n = uint32(alignUp(uintptr(n), physPageSize))
    		v := sysAlloc(uintptr(n), &memstats.stacks_sys)
    		if v == nil {
    			throw("out of memory (stackalloc)")
    		}
    		return stack{uintptr(v), uintptr(v) + uintptr(n)}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top