Thread (115 messages) 115 messages, 7 authors, 2010-08-04

Re: [PATCH repost] sched: export sched_set/getaffinity to modules

From: Oleg Nesterov <oleg@redhat.com>
Date: 2010-07-15 00:08:27
Also in: kvm, lkml

On 07/14, Sridhar Samudrala wrote:
OK. So we want to create a thread that is a child of kthreadd, but inherits the cgroup/cpumask
from the caller. How about an exported kthread function kthread_create_in_current_cg()
that does this?
Well. I must admit, this looks a bit strange to me ;)

Instead of exporting sched_xxxaffinity() we export the new function
which calls them. And I don't think this new helper is very useful
in general. May be I am wrong...

Oleg.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help