Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PreserveHugePageBottom (0.16 sec)

  1. src/runtime/mgcscavenge_test.go

    			}
    		}
    	}
    	if PhysHugePageSize > uintptr(PageSize) {
    		// Check hugepage preserving behavior.
    		bits := uint(PhysHugePageSize / uintptr(PageSize))
    		if bits < PallocChunkPages {
    			tests["PreserveHugePageBottom"] = test{
    				alloc: []BitRange{{bits + 2, PallocChunkPages - (bits + 2)}},
    				min:   1,
    				max:   3, // Make it so that max would have us try to break the huge page.
    				want:  BitRange{0, bits + 2},
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top