Home
last modified time | relevance | path

Searched refs:test_affinity (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/rseq/
H A Dbasic_test.c18 cpu_set_t affinity, test_affinity; in test_cpu_pointer() local
22 CPU_ZERO(&test_affinity); in test_cpu_pointer()
25 CPU_SET(i, &test_affinity); in test_cpu_pointer()
26 sched_setaffinity(0, sizeof(test_affinity), in test_cpu_pointer()
27 &test_affinity); in test_cpu_pointer()
32 CPU_CLR(i, &test_affinity); in test_cpu_pointer()
/kernel/linux/linux-6.6/tools/testing/selftests/rseq/
H A Dbasic_test.c18 cpu_set_t affinity, test_affinity; in test_cpu_pointer() local
22 CPU_ZERO(&test_affinity); in test_cpu_pointer()
27 CPU_SET(i, &test_affinity); in test_cpu_pointer()
28 sched_setaffinity(0, sizeof(test_affinity), in test_cpu_pointer()
29 &test_affinity); in test_cpu_pointer()
36 CPU_CLR(i, &test_affinity); in test_cpu_pointer()

Completed in 2 milliseconds