Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751479AbdHaMpi (ORCPT ); Thu, 31 Aug 2017 08:45:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:40056 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751405AbdHaMph (ORCPT ); Thu, 31 Aug 2017 08:45:37 -0400 Date: Thu, 31 Aug 2017 14:45:35 +0200 (CEST) From: Miroslav Benes To: Joe Lawrence cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Josh Poimboeuf , Jessica Yu , Jiri Kosina , Petr Mladek Subject: Re: [PATCH v4] livepatch: introduce shadow variable API In-Reply-To: <2fc0160b-d16a-97d3-3ea1-4a787b8afd48@redhat.com> Message-ID: References: <1502740963-31310-1-git-send-email-joe.lawrence@redhat.com> <1502740963-31310-2-git-send-email-joe.lawrence@redhat.com> <2fc0160b-d16a-97d3-3ea1-4a787b8afd48@redhat.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) 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: 317 Lines: 12 > > Could you also add a comment above klp_shadow_lock definition about what > > it aims to protect? > > > > How about "klp_shadow_lock provides exclusive access to the > klp_shadow_hash and the shadow variables it references." or were > thinking of something more detailed? No, this is good. Thanks. Miroslav