Re: [PATCHv6 2/3] kernel: add support for live patching

2014-12-13 Thread Josh Poimboeuf
On Fri, Dec 12, 2014 at 05:58:19PM +0100, Miroslav Benes wrote: > > Hi, > > I think we are really close (or I hope so). I found few suspicious things > or nitpicks though. They might have applied also to v5, but I didn't > manage to look at that. Sorry about that. > > On Wed, 10 Dec 2014, Jos

Re: [PATCHv6 2/3] kernel: add support for live patching

2014-12-12 Thread Miroslav Benes
Hi, I think we are really close (or I hope so). I found few suspicious things or nitpicks though. They might have applied also to v5, but I didn't manage to look at that. Sorry about that. On Wed, 10 Dec 2014, Josh Poimboeuf wrote: > +/* klp_mutex must be held by caller */ > +static bool klp

[PATCHv6 2/3] kernel: add support for live patching

2014-12-10 Thread Josh Poimboeuf
From: Seth Jennings This commit introduces code for the live patching core. It implements an ftrace-based mechanism and kernel interface for doing live patching of kernel and kernel module functions. It represents the greatest common functionality set between kpatch and kgraft and can accept pa