[lkml]   [2015]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy
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

 \ /
  Last update: 2015-10-25 12:01    [W:0.113 / U:6.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site