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 -- To unsubscribe from this list: send the line "unsubscribe live-patching" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html