Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for smp (0.05 sec)

  1. pkg/controller/garbagecollector/patch.go

    type jsonMergePatchFunc func(*node) ([]byte, error)
    
    // patch tries strategic merge patch on item first, and if SMP is not supported, it fallbacks to JSON merge
    // patch.
    func (gc *GarbageCollector) patch(item *node, smp []byte, jmp jsonMergePatchFunc) (*metav1.PartialObjectMetadata, error) {
    	smpResult, err := gc.patchObject(item.identity, smp, types.StrategicMergePatchType)
    	if err == nil {
    		return smpResult, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/sys_linux_arm.s

    	RET
    ret0:
    	MOVW	$0, R0
    	MOVB	R0, ret+12(FP)
    	RET
    
    // As for cas, memory barriers are complicated on ARM, but the kernel
    // provides a user helper. ARMv5 does not support SMP and has no
    // memory barrier instruction at all. ARMv6 added SMP support and has
    // a memory barrier, but it requires writing to a coprocessor
    // register. ARMv7 introduced the DMB instruction, but it's expensive
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprog/numcpu_freebsd.go

    		fmt.Println("OK")
    		return
    	}
    	cmd := exec.Command("sysctl", "-n", "kern.smp.active")
    	output, err := cmd.CombinedOutput()
    	if err != nil {
    		fmt.Printf("fail to launch '%s', error: %s, output: %s\n", strings.Join(cmd.Args, " "), err, output)
    		return
    	}
    	if !bytes.Equal(output, []byte("1\n")) {
    		// SMP mode deactivated in kernel.
    		fmt.Println("OK")
    		return
    	}
    
    	list, err := getList()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 20:09:46 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. src/runtime/os_freebsd.go

    	// Querying kern.smp.maxcpus to calculate maximum buffer size.
    	// See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200802
    
    	// Variable kern.smp.maxcpus introduced at Dec 23 2003, revision 123766,
    	// with dynamically assigned sysctl entries.
    	miblen := sysctlnametomib([]byte("kern.smp.maxcpus"), &mib)
    	if miblen == 0 {
    		return 1
    	}
    
    	// Query kern.smp.maxcpus.
    	dstsize := uintptr(4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  5. src/runtime/sys_linux_arm.s

    	MOVW	$0, R1
    	MOVW	$SYS_nanosleep, R7
    	SWI	$0
    	RET
    
    // As for cas, memory barriers are complicated on ARM, but the kernel
    // provides a user helper. ARMv5 does not support SMP and has no
    // memory barrier instruction at all. ARMv6 added SMP support and has
    // a memory barrier, but it requires writing to a coprocessor
    // register. ARMv7 introduced the DMB instruction, but it's expensive
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  6. src/runtime/asm_arm.s

    	MOVW	$0, R0
    	MOVW	(R0), R1
    
    // armPublicationBarrier is a native store/store barrier for ARMv7+.
    // On earlier ARM revisions, armPublicationBarrier is a no-op.
    // This will not work on SMP ARMv6 machines, if any are in use.
    // To implement publicationBarrier in sys_$GOOS_arm.s using the native
    // instructions, use:
    //
    //	TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    			// SMP
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
Back to top