Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935204AbcCJJJX (ORCPT ); Thu, 10 Mar 2016 04:09:23 -0500 Received: from mx2.suse.de ([195.135.220.15]:49388 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753984AbcCJJJL (ORCPT ); Thu, 10 Mar 2016 04:09:11 -0500 Date: Thu, 10 Mar 2016 10:09:00 +0100 (CET) From: Jiri Kosina X-X-Sender: jkosina@pobox.suse.cz To: Petr Mladek cc: Josh Poimboeuf , Jessica Yu , Vojtech Pavlik , Miroslav Benes , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Steven Rostedt , Ingo Molnar , Masami Hiramatsu , linuxppc-dev@ozlabs.org, Balbir Singh , Torsten Duwe , Michael Ellerman Subject: Re: [PATCH] livepatch: Add some basic LivePatch documentation In-Reply-To: <1457532106-30925-1-git-send-email-pmladek@suse.com> Message-ID: References: <1457532106-30925-1-git-send-email-pmladek@suse.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 988 Lines: 29 On Wed, 9 Mar 2016, Petr Mladek wrote: > LivePatch framework deserves some documentation, definitely. > This is an attempt to provide some basic info. I hope that > it will be useful for both LivePatch producers and also > potential developers of the framework itself. Thanks for starting the efforts; this is really needed if we want the infrastructure to be used also by someone else than its developers :) [ ... snip ... ] > +7. Limitations > +============== Miroslav Benes, who is working on creating the actual patches we are shipping for our kernels, should already have a decent cheat-sheet regarding things that the patch author should be extra careful when creating a patch (inlining and other gcc optimizations such as isra, functions that use switch_to(), percpu, ...). I am not really sure whether these should go to limitations, or maybe they'd better be placed into a separate chapter, but I'd really like to see it included. Thanks, -- Jiri Kosina SUSE Labs