On Fri, Mar 23, 2018 at 01:00:20PM +0100, Petr Mladek wrote: > The atomic replace allows to create cumulative patches. They > are useful when you maintain many livepatches and want to remove > one that is lower on the stack. In addition it is very useful when > more patches touch the same function and there are dependencies > between them. > > This version is heavily refactored and cleaned based on feedback from Josh. > There are actually only three functional changes. > > It still passes the first draft of the selfttest from Joe that can > be found at https://lkml.kernel.org/r/1520881024-29386-1-git-send-email-joe.lawrence@xxxxxxxxxx > > > Changes against v10: > > + Bug fixes and functional changes: > + Handle Nops in klp_ftrace_handled() to avoid infinite loop [Mirek] > + Really add dynamically allocated klp_object into the list [Petr] > + Clear patch->replace when transition finishes [Josh] > > + Refactoring and clean up [Josh]: > + Replace enum types with bools > + Avoid using ERR_PTR > + Remove too paranoid warnings > + Distinguish registered patches by a flag instead of a list > + Squash some functions > + Update comments, documentation, and commit messages > + Squashed and split patches to do more controversial changes later Thanks again for all the changes. I think I like the general direction of the patches now, even some of the later ones ;-) Along with the minor comments from my other emails, I still have the question about "does it make sense to enforce a stack anymore". And of course I would really like to see the selftests in place 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