- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 40 for Preemptable (0.28 sec)
-
src/cmd/internal/obj/mips/obj0.go
// Store link register before decrement SP, so if a signal comes // during the execution of the function prologue, the traceback // code will not see a half-updated stack frame. // This sequence is not async preemptible, as if we open a frame // at the current SP, it will clobber the saved LR. q = c.ctxt.StartUnsafePoint(q, c.newprog) q = obj.Appendp(q, newprog) q.As = mov q.Pos = p.Pos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:28:53 UTC 2023 - 30.6K bytes - Viewed (0) -
src/runtime/proc.go
// holding the transient P, leaving that P in limbo and deadlocking the // STW. // // Callers passing a non-nil P must already be in non-preemptible // context, otherwise such preemption could occur on function entry to // startm. Callers passing a nil P may be preemptible, so we must // disable preemption before acquiring a P from pidleget below. mp := acquirem() if !lockheld { lock(&sched.lock) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0) -
src/runtime/mheap.go
} else { return uint(i) & (1<<arenaL2Bits - 1) } } // inheap reports whether b is a pointer into a (potentially dead) heap object. // It returns false for pointers into mSpanManual spans. // Non-preemptible because it is used by write barriers. // //go:nowritebarrier //go:nosplit func inheap(b uintptr) bool { return spanOfHeap(b) != nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0) -
src/cmd/compile/internal/liveness/plive.go
// grows the stack, but not themselves be a safe-point. func (lv *liveness) hasStackMap(v *ssa.Value) bool { if !v.Op.IsCall() { return false } // wbZero and wbCopy are write barriers and // deeply non-preemptible. They are unsafe points and // hence should not have liveness maps. if sym, ok := v.Aux.(*ssa.AuxCall); ok && (sym.Fn == ir.Syms.WBZero || sym.Fn == ir.Syms.WBMove) { return false } return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 45.2K bytes - Viewed (0) -
src/cmd/internal/obj/x86/obj6.go
callend := call progedit(ctxt, callend, newprog) for ; callend.Link != nil; callend = callend.Link { progedit(ctxt, callend.Link, newprog) } // The instructions which unspill regs should be preemptible. pcdata = ctxt.EndUnsafePoint(callend, newprog, -1) unspill := cursym.Func().UnspillRegisterArgs(pcdata, newprog) jmp := obj.Appendp(unspill, newprog) jmp.As = obj.AJMP jmp.To.Type = obj.TYPE_BRANCH
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:36:45 UTC 2023 - 40.9K bytes - Viewed (0) -
src/internal/trace/order.go
// before we get here (after the transfer out) but that's OK: that new // P won't be in the ProcSyscall state anymore. // // Basically: while we have a preemptible P, don't advance, because we // *know* from the event that we're going to lose it at some point during // the syscall. We shouldn't advance until that happens. if curCtx.P != NoProc { pState, ok := o.pStates[curCtx.P]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0) -
src/cmd/internal/obj/riscv/obj.go
} else { p.To.Sym = ctxt.Lookup("runtime.morestack") } if to_more != nil { to_more.To.SetTarget(p) } jalToSym(ctxt, p, REG_X5) // The instructions which unspill regs should be preemptible. p = ctxt.EndUnsafePoint(p, newprog, -1) p = cursym.Func().UnspillRegisterArgs(p, newprog) // JMP start p = obj.Appendp(p, newprog) p.As = AJAL p.To = obj.Addr{Type: obj.TYPE_BRANCH}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 07 03:32:27 UTC 2024 - 77K bytes - Viewed (0) -
src/debug/elf/elf.go
STV_INTERNAL SymVis = 0x1 /* Special meaning in relocatable objects. */ STV_HIDDEN SymVis = 0x2 /* Not visible. */ STV_PROTECTED SymVis = 0x3 /* Visible but not preemptible. */ ) var stvStrings = []intName{ {0x0, "STV_DEFAULT"}, {0x1, "STV_INTERNAL"}, {0x2, "STV_HIDDEN"}, {0x3, "STV_PROTECTED"}, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 00:01:16 UTC 2024 - 134.6K bytes - Viewed (0) -
cluster/gce/util.sh
gcloud="gcloud beta" fi local preemptible_minions=() if [[ "${PREEMPTIBLE_NODE}" == "true" ]]; then preemptible_minions+=(--preemptible --maintenance-policy TERMINATE) fi local local_ssds=() local_ssd_ext_count=0 if [[ -n "${NODE_LOCAL_SSDS_EXT:-}" ]]; then IFS=";" read -r -a ssdgroups <<< "${NODE_LOCAL_SSDS_EXT:-}"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 21:47:17 UTC 2024 - 161.6K bytes - Viewed (0) -
src/cmd/internal/obj/x86/asm6.go
} } // Mark nonpreemptible instruction sequences. // The 2-instruction TLS access sequence // MOVQ TLS, BX // MOVQ 0(BX)(TLS*1), BX // is not async preemptible, as if it is preempted and resumed on // a different thread, the TLS address may become invalid. if !CanUse1InsnTLS(ctxt) { useTLS := func(p *obj.Prog) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 146.9K bytes - Viewed (0)