From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762607AbcALOpO (ORCPT ); Tue, 12 Jan 2016 09:45:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46535 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752300AbcALOpL (ORCPT ); Tue, 12 Jan 2016 09:45:11 -0500 Date: Tue, 12 Jan 2016 08:45:08 -0600 From: Josh Poimboeuf To: Petr Mladek Cc: Jessica Yu , Rusty Russell , Seth Jennings , Jiri Kosina , Vojtech Pavlik , Jonathan Corbet , Miroslav Benes , linux-api@vger.kernel.org, live-patching@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [RFC PATCH v3 6/6] Documentation: livepatch: outline the Elf format of a livepatch module Message-ID: <20160112144508.GB310@treble.redhat.com> References: <1452281304-28618-1-git-send-email-jeyu@redhat.com> <1452281304-28618-7-git-send-email-jeyu@redhat.com> <20160112120951.GO731@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160112120951.GO731@pathway.suse.cz> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 12, 2016 at 01:09:51PM +0100, Petr Mladek wrote: > Hi Jessica, > > first, thanks a lot for writing a documentation. It is really > appreciated! > > To be honest, I am not sure if it makes sense to give feedback > at this stage. It seems that there still will be some changes > in the elf format. > > On Fri 2016-01-08 14:28:24, Jessica Yu wrote: > > Document the special Elf sections and constants livepatch modules use. > > > > Signed-off-by: Jessica Yu > > --- > > Documentation/livepatch/patch-module-format.txt | 106 ++++++++++++++++++++++++ > > 1 file changed, 106 insertions(+) > > create mode 100644 Documentation/livepatch/patch-module-format.txt > > I would call this symbol-relocation.txt or so. It describes only this > part of the patch format. > > > > > diff --git a/Documentation/livepatch/patch-module-format.txt b/Documentation/livepatch/patch-module-format.txt > > new file mode 100644 > > index 0000000..d825629 > > --- /dev/null > > +++ b/Documentation/livepatch/patch-module-format.txt > > @@ -0,0 +1,106 @@ > > +--------------------------- > > +Livepatch module Elf format > > +--------------------------- > > I would start with a description what symbols are relocated and why > it needs to be done a special way. The cover letter has this information, and a lot of other useful background. It would be good to add all that background to this document as an introduction. -- Josh