Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for preemption (0.15 sec)

  1. 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)
  2. 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)
  3. src/runtime/runtime1.go

    //go:nosplit
    func acquirem() *m {
    	gp := getg()
    	gp.m.locks++
    	return gp.m
    }
    
    //go:nosplit
    func releasem(mp *m) {
    	gp := getg()
    	mp.locks--
    	if mp.locks == 0 && gp.preempt {
    		// restore the preemption request in case we've cleared it in newstack
    		gp.stackguard0 = stackPreempt
    	}
    }
    
    // reflect_typelinks is meant for package reflect,
    // but widely used packages access it using linkname.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. manifests/charts/istiod-remote/values.yaml

        # system-node-critical, it is better to configure this in order to make sure your Istio 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.
        priorityClassName: ""
        proxy:
          image: proxyv2
          # This controls the 'policy' in the sidecar injector.
          autoInject: enabled
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 21K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/values.yaml

        # system-node-critical, it is better to configure this in order to make sure your Istio 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.
        priorityClassName: ""
    
        proxy:
          image: proxyv2
    
          # This controls the 'policy' in the sidecar injector.
          autoInject: enabled
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. src/runtime/gc_test.go

    	}
    }
    
    func TestGCTestMoveStackOnNextCall(t *testing.T) {
    	t.Parallel()
    	var onStack int
    	// GCTestMoveStackOnNextCall can fail in rare cases if there's
    	// a preemption. This won't happen many times in quick
    	// succession, so just retry a few times.
    	for retry := 0; retry < 5; retry++ {
    		runtime.GCTestMoveStackOnNextCall()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. src/runtime/stubs.go

    //
    // frameSize is the total size of the argument frame at stackArgs and must
    // therefore be >= stackArgsSize. It must include additional space for spilling
    // register arguments for stack growth and preemption.
    //
    // TODO(mknyszek): Once we don't need the additional spill space, remove frameSize,
    // since frameSize will be redundant with stackArgsSize.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  8. src/runtime/mheap.go

    	// then release mheap_.lock.
    	allArenas []arenaIdx
    
    	// sweepArenas is a snapshot of allArenas taken at the
    	// beginning of the sweep cycle. This can be read safely by
    	// simply blocking GC (by disabling preemption).
    	sweepArenas []arenaIdx
    
    	// markArenas is a snapshot of allArenas taken at the beginning
    	// of the mark cycle. Because allArenas is append-only, neither
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  9. src/runtime/mprof.go

    			yield()
    			continue
    		}
    
    		// While we have gp1.goroutineProfiled set to
    		// goroutineProfileInProgress, gp1 may appear _Grunnable but will not
    		// actually be able to run. Disable preemption for ourselves, to make
    		// sure we finish profiling gp1 right away instead of leaving it stuck
    		// in this limbo.
    		mp := acquirem()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. src/runtime/chan.go

    	// src is on our stack, dst is a slot on another stack.
    
    	// Once we read sg.elem out of sg, it will no longer
    	// be updated if the destination's stack gets copied (shrunk).
    	// So make sure that no preemption points can happen between read & use.
    	dst := sg.elem
    	typeBitsBulkBarrier(t, uintptr(dst), uintptr(src), t.Size_)
    	// No need for cgo write barrier checks because dst is always
    	// Go memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top