Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Preemptable (0.22 sec)

  1. src/runtime/preempt.go

    //
    // This must be called from the system stack and the user goroutine on
    // the current M (if any) must be in a preemptible state. This
    // prevents deadlocks where two goroutines attempt to suspend each
    // other and both are in non-preemptible states. There are other ways
    // to resolve this deadlock, but this seems simplest.
    //
    // TODO(austin): What if we instead required this to be called from a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. src/runtime/mgcmark.go

    		// would be a performance hit.
    		// Instead we recheck it here on the non-preemptible system
    		// stack to determine if we should perform an assist.
    
    		// GC is done, so ignore any remaining debt.
    		gp.gcAssistBytes = 0
    		return
    	}
    	// Track time spent in this assist. Since we're on the
    	// system stack, this is non-preemptible, so we can
    	// just measure start and end time.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  3. cluster/gce/config-test.sh

      NODE_LABELS="${NODE_LABELS},cloud.google.com/gke-preemptible=true"
      WINDOWS_NODE_LABELS="${WINDOWS_NODE_LABELS},cloud.google.com/gke-preemptible=true"
    elif [[ "${PREEMPTIBLE_NODE}" = 'true' ]]; then
      NON_MASTER_NODE_LABELS="${NON_MASTER_NODE_LABELS},cloud.google.com/gke-preemptible=true"
      WINDOWS_NON_MASTER_NODE_LABELS="${WINDOWS_NON_MASTER_NODE_LABELS},cloud.google.com/gke-preemptible=true"
    fi
    
    # Optional: Enable netd.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 17:20:24 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. src/runtime/mgclimit.go

    	// Drain the pool of idle time.
    	idleTime := l.idleTimePool.Load()
    	if idleTime != 0 {
    		l.idleTimePool.Add(-idleTime)
    	}
    
    	if !l.test {
    		// Consume time from in-flight events. Make sure we're not preemptible so allp can't change.
    		//
    		// The reason we do this instead of just waiting for those events to finish and push updates
    		// is to ensure that all the time we're accounting for happened sometime between lastUpdate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. src/runtime/arena.go

    }
    
    // setUserArenaChunkToFault sets the address space for the user arena chunk to fault
    // and releases any underlying memory resources.
    //
    // Must be in a non-preemptible state to ensure the consistency of statistics
    // exported to MemStats.
    func (s *mspan) setUserArenaChunkToFault() {
    	if !s.isUserArenaChunk {
    		throw("invalid span in heapArena for user arena")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  6. hack/make-rules/test-e2e-node.sh

        --image-config-file="${image_config_file}" --system-spec-name="${system_spec_name}" \
        --runtime-config="${runtime_config}" --preemptible-instances="${preemptible_instances}" \
        --ssh-user="${ssh_user}" --ssh-key="${ssh_key}" --ssh-options="${ssh_options}" \
        --image-config-dir="${image_config_dir}" --node-env="${node_env}" \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 09:46:28 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. src/runtime/mgc.go

    func gcStart(trigger gcTrigger) {
    	// Since this is called from malloc and malloc is called in
    	// the guts of a number of libraries that might be holding
    	// locks, don't attempt to start GC in non-preemptible or
    	// potentially unstable situations.
    	mp := acquirem()
    	if gp := getg(); gp == mp.g0 || mp.locks > 1 || mp.preemptoff != "" {
    		releasem(mp)
    		return
    	}
    	releasem(mp)
    	mp = nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  8. build/root/Makefile

    #  DELETE_INSTANCES: For REMOTE=true only.  Delete any instances created as
    #    part of this test run.  Defaults to false.
    #  PREEMPTIBLE_INSTANCES: For REMOTE=true only.  Mark created gce instances
    #    as preemptible.  Defaults to false.
    #  CLEANUP: For REMOTE=true only.  If false, do not stop processes or delete
    #    test files on remote hosts.  Defaults to true.
    #  IMAGE_PROJECT: For REMOTE=true only.  Project containing images provided to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/obj9.go

    					// 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 = obj.Appendp(q, c.newprog)
    					q.As = AMOVD
    					q.Pos = p.Pos
    					q.From.Type = obj.TYPE_REG
    					q.From.Reg = REG_LR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  10. src/runtime/malloc.go

    // weight allocation. If it is a heavy weight allocation the caller must
    // determine whether a new GC cycle needs to be started or if the GC is active
    // whether this goroutine needs to assist the GC.
    //
    // Must run in a non-preemptible context since otherwise the owner of
    // c could change.
    func (c *mcache) nextFree(spc spanClass) (v gclinkptr, s *mspan, shouldhelpgc bool) {
    	s = c.alloc[spc]
    	shouldhelpgc = false
    	freeIndex := s.nextFreeIndex()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top