- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 150 for preemption (0.43 sec)
-
src/runtime/debug_test.go
// caution to prevent #49370 from happening). // TODO(mknyszek): This extra GC cycle is likely unnecessary // because preemption (which may happen during the sweep phase) // isn't much of an issue anymore thanks to asynchronous preemption. // The biggest risk is having a write barrier in the debug call // injection test code fire, because it runs in a signal handler // and may not have a P. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 15:08:04 UTC 2023 - 8K bytes - Viewed (0) -
src/runtime/lock_wasip1.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build wasip1 package runtime // wasm has no support for threads yet. There is no preemption. // See proposal: https://github.com/WebAssembly/threads // Waiting for a mutex or timeout is implemented as a busy loop // while allowing other goroutines to run. const ( mutex_unlocked = 0 mutex_locked = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:02:20 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/mwbbuf.go
// p := buf.get2() // p[0], p[1] = old, new // ... actual memory write ... // // The caller must ensure there are no preemption points during the // above sequence. There must be no preemption points while buf is in // use because it is a per-P resource. There must be no preemption // points between the buffer put and the write to memory because this // could allow a GC phase change, which could result in missed write
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.1K bytes - Viewed (0) -
src/runtime/signal_unix.go
ctxt.pushCall(abi.FuncPCABI0(asyncPreempt), newpc) } } // Acknowledge the preemption. gp.m.preemptGen.Add(1) gp.m.signalPending.Store(0) if GOOS == "darwin" || GOOS == "ios" { pendingPreemptSignals.Add(-1) } } const preemptMSupported = true // preemptM sends a preemption request to mp. This request may be // handled asynchronously and may be coalesced with other requests to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0) -
src/internal/runtime/exithook/hooks.go
// Package exithook provides limited support for on-exit cleanup. // // CAREFUL! The expectation is that Add should only be called // from a safe context (e.g. not an error/panic path or signal // handler, preemption enabled, allocation allowed, write barriers // allowed, etc), and that the exit function F will be invoked under // similar circumstances. That is the say, we are expecting that F
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.2K bytes - Viewed (0) -
pkg/scheduler/framework/interface.go
// NodeInfoSnapshot because we don't guarantee that they will be the same. // For example, during preemption, we may pass a copy of the original // nodeInfo object that has some pods removed from it to evaluate the // possibility of preempting them to schedule the target pod. Filter(ctx context.Context, state *CycleState, pod *v1.Pod, nodeInfo *NodeInfo) *Status }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 35.4K bytes - Viewed (0) -
src/runtime/traceback_test.go
} return n } // nosplit to avoid preemption or morestack spilling registers. // //go:nosplit //go:noinline func testTracebackArgs10(a, b, c, d, e int32) int { // no use of any args return runtime.Stack(testTracebackArgsBuf[:], false) } // norace to avoid race instrumentation changing spill locations. // nosplit to avoid preemption or morestack spilling registers. // //go:norace
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 22.9K bytes - Viewed (0) -
manifests/charts/gateway/values.yaml
# Configure this to a higher priority class in order to make sure your Istio gateway pods # will not be killed because of low priority class. # Refer to https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass # for more detail.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 07 16:51:35 UTC 2024 - 4.4K bytes - Viewed (0) -
pkg/scheduler/metrics/metrics.go
}, ) PreemptionVictims = metrics.NewHistogram( &metrics.HistogramOpts{ Subsystem: SchedulerSubsystem, Name: "preemption_victims", Help: "Number of selected preemption victims", // we think #victims>64 is pretty rare, therefore [64, +Inf) is considered a single bucket. Buckets: metrics.ExponentialBuckets(1, 2, 7), StabilityLevel: metrics.STABLE, })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 08:22:53 UTC 2024 - 11.1K bytes - Viewed (0) -
src/runtime/unsafepoint_test.go
switch runtime.GOARCH { case "amd64", "arm64": default: t.Skipf("test not enabled for %s", runtime.GOARCH) } // Get a reference we can use to ask the runtime about // which of its instructions are unsafe preemption points. f := runtime.FuncForPC(reflect.ValueOf(setGlobalPointer).Pointer()) // Disassemble the test function. // Note that normally "go test runtime" would strip symbols
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 20:24:56 UTC 2023 - 3.3K bytes - Viewed (0)