Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pallocSum (0.18 sec)

  1. src/runtime/mpagealloc_32bit.go

    	for l, shift := range levelShift {
    		entries := 1 << (heapAddrBits - shift)
    
    		// Put this reservation into a slice.
    		sl := notInHeapSlice{(*notInHeap)(reservation), 0, entries}
    		p.summary[l] = *(*[]pallocSum)(unsafe.Pointer(&sl))
    
    		reservation = add(reservation, uintptr(entries)*pallocSumBytes)
    	}
    }
    
    // See mpagealloc_64bit.go for details.
    func (p *pageAlloc) sysGrow(base, limit uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. src/runtime/mpagealloc_64bit.go

    		r := sysReserve(nil, b)
    		if r == nil {
    			throw("failed to reserve page summary memory")
    		}
    
    		// Put this reservation into a slice.
    		sl := notInHeapSlice{(*notInHeap)(r), 0, entries}
    		p.summary[l] = *(*[]pallocSum)(unsafe.Pointer(&sl))
    	}
    }
    
    // sysGrow performs architecture-dependent operations on heap
    // growth for the page allocator, such as mapping in new memory
    // for summaries. It also updates the length of the slices in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top