[lkml]   [2019]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC v2 1/6] x86: introduce kernel restartable sequence
> On Jan 3, 2019, at 3:40 PM, Andi Kleen <> wrote:
>> Thanks for the explanations. I don’t think it would work (e.g., IRQs). I can
>> avoid generalizing and just detect the "magic sequence” of the code, but let
>> me give it some more thought.
> If you ask me I would just use compiler profile feedback or autofdo (if your
> compiler has a working version)
> The compiler can do a much better job at optimizing this than you ever could.
> Manual FDO needs some kernel patching though.

As long as you are willing to profile and build your own kernels. (Profiling
will not tell you if users are about to use IPv4/6).

I also don’t see how FDO can support modules.

 \ /
  Last update: 2019-01-04 00:57    [W:0.062 / U:1.448 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site