Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753584AbdFMRcI (ORCPT ); Tue, 13 Jun 2017 13:32:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50620 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752615AbdFMRcH (ORCPT ); Tue, 13 Jun 2017 13:32:07 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E6A28804EB Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=joe.lawrence@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com E6A28804EB Subject: Re: [PATCH 3/3] livepatch: add shadow variable sample program To: Miroslav Benes References: <1496341526-19061-1-git-send-email-joe.lawrence@redhat.com> <1496341526-19061-4-git-send-email-joe.lawrence@redhat.com> Cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Josh Poimboeuf , Jessica Yu , Jiri Kosina , Petr Mladek From: Joe Lawrence Organization: Red Hat Message-ID: Date: Tue, 13 Jun 2017 13:32:05 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 13 Jun 2017 17:32:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 844 Lines: 30 On 06/13/2017 07:00 AM, Miroslav Benes wrote: > On Thu, 1 Jun 2017, Joe Lawrence wrote: > >> Modify the sample livepatch to demonstrate the shadow variable API. >> >> Signed-off-by: Joe Lawrence >> --- >> samples/livepatch/livepatch-sample.c | 39 +++++++++++++++++++++++++++++++++++- >> 1 file changed, 38 insertions(+), 1 deletion(-) > > Would it make sense to make this our second sample module? I think we > should keep one as simple as possible, and illustrate new features in > separate sample modules. > > I'd like to have another one for klp-convert patch set too. > > What do you think? > > Miroslav > Yeah, adding this as a new sample module is a good idea. I'll split that out in v2. I'm not familiar with klp-convert, so I'll assume that will be handled as its own patch(set). Thanks, -- Joe