Searched refs:cpuset (Results 1 – 25 of 37) sorted by relevance
12
119 cpu_set_t cpuset; in main() local120 CPU_ZERO(&cpuset); in main()121 CPU_SET(cmd_data.cpu_to_lock, &cpuset); in main()122 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { in main()
207 cpu_set_t cpuset; in bindCPU() local209 CPU_ZERO(&cpuset); in bindCPU()210 CPU_SET(cpu, &cpuset); in bindCPU()211 rv = sched_setaffinity(0, sizeof(cpuset), &cpuset); in bindCPU()
17 # Access /dev/cpuset/cpuset.cpus
22 # Access /dev/cpuset/cpuset.cpus
15 writepid /dev/cpuset/foreground/tasks25 writepid /dev/cpuset/foreground/tasks
277 mkdir /dev/cpuset/foreground278 copy /dev/cpuset/cpus /dev/cpuset/foreground/cpus279 copy /dev/cpuset/mems /dev/cpuset/foreground/mems280 mkdir /dev/cpuset/background281 copy /dev/cpuset/cpus /dev/cpuset/background/cpus282 copy /dev/cpuset/mems /dev/cpuset/background/mems287 mkdir /dev/cpuset/system-background288 copy /dev/cpuset/cpus /dev/cpuset/system-background/cpus289 copy /dev/cpuset/mems /dev/cpuset/system-background/mems293 mkdir /dev/cpuset/restricted[all …]
15 writepid /dev/cpuset/foreground/tasks
11 writepid /dev/cpuset/system-background/tasks18 writepid /dev/cpuset/system-background/tasks
29 # Access /dev/cpuset/cpuset.cpus
4 writepid /dev/cpuset/system-background/tasks
5 writepid /dev/cpuset/foreground/tasks
6 writepid /dev/cpuset/system-background/tasks
8 writepid /dev/cpuset/system-background/tasks
10 writepid /dev/cpuset/system-background/tasks
5 writepid /dev/cpuset/system-background/tasks /dev/blkio/background/tasks
6 writepid /dev/cpuset/foreground/tasks
425 cpu_set_t cpuset; in main() local426 CPU_ZERO(&cpuset); in main()427 CPU_SET(cpu, &cpuset); in main()428 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0) { in main()
19 writepid /dev/cpuset/system-background/tasks
45 writepid /dev/cpuset/system-background/tasks
21 (-B) echo $$ > /dev/cpuset/background/tasks;;