lkml.org 
[lkml]   [2013]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Restrict kernel spawning of threads to a specified set of cpus.
On Thu, 12 Sep 2013, Frederic Weisbecker wrote:

> So yeah it's a problem in theory. Now in practice, I have yet to be convinced because
> this should be solved after a few iterations in /proc in most cases.

I have seen some drivers regularly spawning threads all over the machnine.
This is a practical issue that I am addresing.
>
> Now the issue doesn't only concern kthreads but all tasks in the system.
> If we really want to solve that race, then may be we can think of a kernel_parameter
> that sets the initial affinity of init and then lets get it naturally inherited
> through the whole tree.

This patch that we are discussing does exactly that.



\
 
 \ /
  Last update: 2013-09-13 19:41    [W:0.301 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site