lkml.org 
[lkml]   [2018]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: unwind_init() takes 100 ms
On Mon, Oct 08, 2018 at 12:34:17PM -0500, Josh Poimboeuf wrote:
> > 4. Would a command line parameter be reasonable `disable_unwind`, so people
> > could decrease their boot time with distribution kernels, and easily turn it
> > back on, when they need a stacktrace without having to rebuild the Linux
> > kernel?
>
> I think a boot cmdline option to disable ORC would be ok. However,
> disabling ORC would need to fall back to the "guess" unwinder.
> Otherwise it would make debugging impossible. That shouldn't be too
> hard, but it would require restructuring the code a bit.

But I should also clarify that this option wouldn't be worth it.
Sorting at build time is the way to go.

--
Josh

\
 
 \ /
  Last update: 2018-10-08 19:37    [W:0.420 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site