void jyy@nju.edu.cn() { nice(10); mutex_lock(&restroom_lock); } void changxu@nju.edu.cn() { nice(0); while (1) ; } void xxm@nju.edu.cn() { nice(-10); mutex_lock(&restroom_lock); }
bc_dist
bc_sched
“And you have to realize that there are not very many things that have aged as well as the scheduler. Which is just another proof that scheduling is easy.” ——Linus Torvalds, 2001
$ time taskset -c 0 sum-atomic $ time taskset -c 0,1 sum-atomic