Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for preemption (0.1 sec)

  1. src/runtime/extern.go

    	dontfreezetheworld: by default, the start of a fatal panic or throw
    	"freezes the world", preempting all threads to stop all running
    	goroutines, which makes it possible to traceback all goroutines, and
    	keeps their state close to the point of panic. Setting
    	dontfreezetheworld=1 disables this preemption, allowing goroutines to
    	continue executing during panic processing. Note that goroutines that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. src/runtime/malloc.go

    	// Objects can be zeroed late in a context where preemption can occur.
    	// If the object contains pointers, its pointer data must be cleared
    	// or otherwise indicate that the GC shouldn't scan it.
    	// x will keep the memory alive.
    	if delayedZeroing {
    		// N.B. size == fullSize always in this case.
    		memclrNoHeapPointersChunked(size, x) // This is a possible preemption point: see #47302
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. src/runtime/traceruntime.go

    	// Any time we acquire a traceLocker, we may flush a trace buffer. But
    	// buffer flushes are rare. Record the lock edge even if it doesn't happen
    	// this time.
    	lockRankMayTraceFlush()
    
    	// Prevent preemption.
    	mp := acquirem()
    
    	// Acquire the trace seqlock. This prevents traceAdvance from moving forward
    	// until all Ms are observed to be outside of their seqlock critical section.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. src/runtime/trace.go

    	// cost of maintaining this consistency is low. We're not going to hold this semaphore
    	// for very long and most STW periods are very short.
    	// Once we hold worldsema, prevent preemption as well so we're not interrupted partway
    	// through this. We want to get this done as soon as possible.
    	semacquire(&worldsema)
    	mp := acquirem()
    
    	// Advance the generation or stop the trace.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/liveness/plive.go

    	// unsafe-points.
    	allUnsafe bool
    	// unsafePoints bit i is set if Value ID i is an unsafe-point
    	// (preemption is not allowed). Only valid if !allUnsafe.
    	unsafePoints bitvec.BitVec
    	// unsafeBlocks bit i is set if Block ID i is an unsafe-point
    	// (preemption is not allowed on any end-of-block
    	// instructions). Only valid if !allUnsafe.
    	unsafeBlocks bitvec.BitVec
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. src/reflect/abi.go

    	// reserved for arguments but not return values. retOffset
    	// is the offset at which return values begin, and
    	// spill is the size in bytes of additional space reserved
    	// to spill argument registers into in case of preemption in
    	// reflectcall's stack frame.
    	stackCallArgsSize, retOffset, spill uintptr
    
    	// stackPtrs is a bitmap that indicates whether
    	// each word in the ABI stack space (stack-assigned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. helm/minio/values.yaml

      maxSurge: 100%
    
    ## Update strategy for StatefulSets
    statefulSetUpdate:
      updateStrategy: RollingUpdate
    
    ## Pod priority settings
    ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
    ##
    priorityClassName: ""
    
    ## Pod runtime class name
    ## ref https://kubernetes.io/docs/concepts/containers/runtime-class/
    ##
    runtimeClassName: ""
    
    ## Set default rootUser, rootPassword
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 28 10:14:37 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. src/runtime/mgcsweep.go

    func isSweepDone() bool {
    	return sweep.active.isDone()
    }
    
    // Returns only when span s has been swept.
    //
    //go:nowritebarrier
    func (s *mspan) ensureSwept() {
    	// Caller must disable preemption.
    	// Otherwise when this function returns the span can become unswept again
    	// (if GC is triggered on another goroutine).
    	gp := getg()
    	if gp.m.locks == 0 && gp.m.mallocing == 0 && gp != gp.m.g0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/preemption/preemption_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package preemption
    
    import (
    	"context"
    	"fmt"
    	"sort"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	policy "k8s.io/api/policy/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/framework.go

    			s.SetPlugin(pl.Name())
    			if s.Code() == framework.UnschedulableAndUnresolvable {
    				// In this case, the preemption shouldn't happen in this scheduling cycle.
    				// So, no need to execute all PreFilter.
    				return nil, s
    			}
    			if s.Code() == framework.Unschedulable {
    				// In this case, the preemption should happen later in this scheduling cycle.
    				// So we need to execute all PreFilter.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top