lkml.org 
[lkml]   [2009]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:tracing/urgent] tracing: Fix too large stack usage in do_one_initcall()
Linus Torvalds wrote:
>
> I do wonder, though. Maybe we should never have that MAX_WORK limit, and
> instead limit the parallelism by actively trying to yield when there's too
> much work? That bootup sequence _does_ tend to have deep callchains (with
> all the crazy device register crud), and maybe we should actively see the
> async work code as not just a way to speed up boot, but also as a way to
> avoid deep callchains.

makes sense; the MAX_WORK was more a sanity check to kill out of hand recursion
than anything else...


\
 
 \ /
  Last update: 2009-08-21 20:35    [W:0.058 / U:1.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site