lkml.org 
[lkml]   [2016]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] livepatch: Implement separate coming and going module notifiers
On Mon, Feb 01, 2016 at 01:27:57PM +0100, Jiri Kosina wrote:
> On Fri, 29 Jan 2016, Josh Poimboeuf wrote:
>
> > Right, as you say it's basically a nop 99.99% of the time. But we still
> > need to do the "are any patches loaded" check, so we still need the call
> > into a livepatch function to do that.
>
> We might create a static key for that (some might call it
> over-optimization though, given it's happening on kind of a slow path
> anyway).

I really don't think that's needed. Nobody will notice an extra
function call in the module load path. (And BTW it'll be slightly
faster than today since it doesn't go through the notifier first.)

--
Josh

\
 
 \ /
  Last update: 2016-02-01 16:21    [W:0.089 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site