Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy
From: Theodore Ts'o
Date: Sun Oct 25 2015 - 06:42:34 EST
On Sun, Oct 25, 2015 at 10:33:32AM +0100, Ingo Molnar wrote:
>
> Hm, that's weird - all our sched_*() system call APIs that set task scheduling
> priorities are fundamentally per thread, not per process. Same goes for the old
> sys_nice() interface. The scheduler has no real notion of 'process', and certainly
> not at the system call level.
>
I suspect the main issue is that the games programmers were trying to
access it via libc / pthreads, which hides a lot of the power
available at the raw syscall level. This is probably more of a
"tutorial needed for userspace programmers" issue, at a guess.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/