- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Preemptable (0.29 sec)
-
pkg/kubelet/types/pod_update.go
if pod.Spec.Priority != nil && IsCriticalPodBasedOnPriority(*pod.Spec.Priority) { return true } return false } // Preemptable returns true if preemptor pod can preempt preemptee pod // if preemptee is not critical or if preemptor's priority is greater than preemptee's priority func Preemptable(preemptor, preemptee *v1.Pod) bool { if IsCriticalPod(preemptor) && !IsCriticalPod(preemptee) { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 07 22:26:12 UTC 2023 - 6.4K bytes - Viewed (0) -
src/runtime/unsafepoint_test.go
out, err := cmd.CombinedOutput() if err != nil { t.Fatalf("can't objdump %v", err) } lines := strings.Split(string(out), "\n")[1:] // Walk through assembly instructions, checking preemptible flags. var entry uint64 var startedWB bool var doneWB bool instructionCount := 0 unsafeCount := 0 for _, line := range lines { line = strings.TrimSpace(line) t.Logf("%s", line)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 20:24:56 UTC 2023 - 3.3K bytes - Viewed (0) -
src/runtime/crash_unix_test.go
cmd.Dir = t.TempDir() // put any core file in tempdir cmd.Env = append(cmd.Env, "GOTRACEBACK=crash", // Set GOGC=off. Because of golang.org/issue/10958, the tight // loops in the test program are not preemptible. If GC kicks // in, it may lock up and prevent main from saying it's ready. "GOGC=off", // Set GODEBUG=asyncpreemptoff=1. If a thread is preempted // when it receives SIGQUIT, it won't show the expected
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 20:11:47 UTC 2023 - 9.2K bytes - Viewed (0) -
cluster/gce/gci/master-helper.sh
local -r master_name="${1}" local -r address="${2:-}" local -r internal_address="${3:-}" local preemptible_master="" if [[ "${PREEMPTIBLE_MASTER:-}" == "true" ]]; then preemptible_master="--preemptible --maintenance-policy TERMINATE" fi local enable_ip_aliases if [[ "${NODE_IPAM_MODE:-}" == "CloudAllocator" ]]; then enable_ip_aliases=true else enable_ip_aliases=false fi
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 17 19:00:22 UTC 2022 - 8.7K bytes - Viewed (0) -
src/runtime/mwbbuf.go
// // This must not have write barriers because it is part of the write // barrier implementation, so this may lead to infinite loops or // buffer corruption. // // This must be non-preemptible because it uses the P's workbuf. // //go:nowritebarrierrec //go:systemstack func wbBufFlush1(pp *p) { // Get the buffered pointers. start := uintptr(unsafe.Pointer(&pp.wbBuf.buf[0]))
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/net/http/pprof/pprof_test.go
var Sink uint32 func mutexHog1(mu1, mu2 *sync.Mutex, start time.Time, dt time.Duration) { atomic.AddUint32(&Sink, 1) for time.Since(start) < dt { // When using gccgo the loop of mutex operations is // not preemptible. This can cause the loop to block a GC, // causing the time limits in TestDeltaContentionz to fail. // Since this loop is not very realistic, when using // gccgo add preemption points 100 times a second.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 19:52:28 UTC 2023 - 9.7K bytes - Viewed (0)