Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for preemption (0.67 sec)

  1. 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)
  2. 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)
  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/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)
  9. pkg/scheduler/testing/wrappers.go

    	p.Spec.InitContainers = append(p.Spec.InitContainers, MakeContainer().Name(name).Image(imageutils.GetPauseImageName()).Resources(resMap).Obj())
    	return p
    }
    
    // PreemptionPolicy sets the give preemption policy to the inner pod.
    func (p *PodWrapper) PreemptionPolicy(policy v1.PreemptionPolicy) *PodWrapper {
    	p.Spec.PreemptionPolicy = &policy
    	return p
    }
    
    // Overhead sets the give ResourceList to the inner pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/ppc64/obj9.go

    	}
    	p.To.Type = obj.TYPE_REG
    	p.To.Reg = REG_R22
    
    	// Mark the stack bound check and morestack call async nonpreemptible.
    	// If we get preempted here, when resumed the preemption request is
    	// cleared, but we'll still call morestack, which will double the stack
    	// unnecessarily. See issue #35470.
    	p = c.ctxt.StartUnsafePoint(p, c.newprog)
    
    	var q *obj.Prog
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
Back to top