Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for disablethp (0.14 sec)

  1. src/runtime/runtime1.go

    	{name: "asynctimerchan", atomic: &debug.asynctimerchan},
    	{name: "cgocheck", value: &debug.cgocheck},
    	{name: "clobberfree", value: &debug.clobberfree},
    	{name: "disablethp", value: &debug.disablethp},
    	{name: "dontfreezetheworld", value: &debug.dontfreezetheworld},
    	{name: "efence", value: &debug.efence},
    	{name: "gccheckmark", value: &debug.gccheckmark},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/runtime/mem_linux.go

    	}
    
    	// Disable huge pages if the GODEBUG for it is set.
    	//
    	// Note that there are a few sysHugePage calls that can override this, but
    	// they're all for GC metadata.
    	if debug.disablethp != 0 {
    		sysNoHugePageOS(v, n)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/runtime/extern.go

    	cgocheck mode can be enabled using GOEXPERIMENT (which
    	requires a rebuild), see https://pkg.go.dev/internal/goexperiment for details.
    
    	disablethp: setting disablethp=1 on Linux disables transparent huge pages for the heap.
    	It has no effect on other platforms. disablethp is meant for compatibility with versions
    	of Go before 1.21, which stopped working around a Linux kernel default that can result
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. doc/godebug.md

    significant memory overheads, and Go 1.22 no longer works around this default.
    To work around this issue without adjusting kernel settings, transparent huge
    pages can be disabled for Go memory with the
    [`disablethp` setting](/pkg/runtime#hdr-Environment_Variable).
    This behavior was backported to Go 1.21.1, but the setting is only available
    starting with Go 1.21.6.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. plugin/pkg/admission/imagepolicy/config_test.go

    				RetryBackoff: defaultRetryBackoff,
    			},
    			wantErr: false,
    		},
    		{
    			test: "config wants disabled values",
    			config: imagePolicyWebhookConfig{
    				AllowTTL:     disableTTL,
    				DenyTTL:      disableTTL,
    				RetryBackoff: disableTTL,
    			},
    			normalizedConfig: imagePolicyWebhookConfig{
    				AllowTTL:     time.Duration(0),
    				DenyTTL:      time.Duration(0),
    				RetryBackoff: time.Duration(0),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. plugin/pkg/admission/imagepolicy/config.go

    	minDenyTTL          = time.Duration(1) * time.Second
    	maxDenyTTL          = time.Duration(30) * time.Minute
    	useDefault          = time.Duration(0)  //sentinel for using default TTL
    	disableTTL          = time.Duration(-1) //sentinel for disabling a TTL
    )
    
    // imagePolicyWebhookConfig holds config data for imagePolicyWebhook
    type imagePolicyWebhookConfig struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 25 04:07:36 UTC 2022
    - 3.1K bytes
    - Viewed (0)
Back to top