Received: by 10.223.176.5 with SMTP id f5csp2813057wra; Thu, 1 Feb 2018 06:30:44 -0800 (PST) X-Google-Smtp-Source: AH8x225Dr5HWeHOx99pRjOQhtzfjV7jNiYJFIQeM0zWINUVnDMyAPyLKPQnoR0TBdd+eoe2w44uY X-Received: by 10.99.173.65 with SMTP id y1mr28887829pgo.160.1517495444506; Thu, 01 Feb 2018 06:30:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517495444; cv=none; d=google.com; s=arc-20160816; b=X2wiNFT+IQkBQtOvn1/L2fGIB1XRenvwC0DRU8mwG9DniwoPb2vh5VLLZQRD7RnxiJ t/J4p01zO6acrqkGmiThRgBGPDHvTV59+p0A7K4iIQguQp/N9XSbt0mgOuu9L57B5F6d N4ZYM2lvJOIXo9Y7GNyUNF99q5FvpetieGACvj7axP0Y8SxOGCsdxwpoBqeSeMChfzB2 5cRaP+nmJdclRmF5rH+keVlINr5c97NlwTPvRtj3NNSmQyWGmYt4lHBA7BPEp8hPy5rQ yXn/wAj1C7OFj2hik+/CL2wVshVwucQAFnPh3PUAqgxd1aFJxVTm36Q6rEXCcRUuRIZm 7ZbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :arc-authentication-results; bh=9yis+c/i+QoXATExskb38a/9wUs+AqNzGkcToOkXOPI=; b=FUtZHFP8yae5ugaVkkR33J9tkH4h62Wx1FFulx6YFEDtsnxYTMtO2X2np4lPbutvAP tng0nyjhYQD8tY/ruMbmOz0QVqe012k+VOsNcweY+pxDY2nC6ldR4K+K0daIv7eAXjd/ Zebo5t+Hfkj4YKgQ8E/LCc7LPjY7Qv/MOULMXIhvgOPI1koixoumPIprpKb/92zuSohr NnvoZAC2Lwi/ejgC3F5qbCkUK5Pg7NMzp3oeRA4dmzwSTwflw54+ZFD13GqxJQzaL3Dn p6EHgB69T52uSzSYVLtj7zSmxnp4uQMZv/6QiJyuGgENAGceag/48Fw5bS3jJ1mxN0WE v8+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u32si1480460pgn.770.2018.02.01.06.30.29; Thu, 01 Feb 2018 06:30:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751767AbeBAO2Z (ORCPT + 99 others); Thu, 1 Feb 2018 09:28:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49766 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751378AbeBAO2X (ORCPT ); Thu, 1 Feb 2018 09:28:23 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A65997A17B; Thu, 1 Feb 2018 14:28:23 +0000 (UTC) Received: from jlaw-desktop.bos.csb (dhcp-17-208.bos.redhat.com [10.18.17.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8A1185D6A6; Thu, 1 Feb 2018 14:28:22 +0000 (UTC) Subject: Re: PATCH v6 0/6] livepatch: Atomic replace feature To: Miroslav Benes , Petr Mladek Cc: jpoimboe@redhat.com, jikos@kernel.org, Jason Baron , jeyu@kernel.org, Evgenii Shatokhin , linux-kernel@vger.kernel.org, live-patching@vger.kernel.org References: <20180125160203.28959-1-pmladek@suse.com> From: Joe Lawrence Organization: Red Hat Message-ID: <1dd714ce-8d11-78b9-51f0-2b71734949e1@redhat.com> Date: Thu, 1 Feb 2018 09:28:22 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 01 Feb 2018 14:28:23 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/01/2018 08:49 AM, Miroslav Benes wrote: > > Well, one more thing. I think there is a problem with shadow variables. > Similar to callbacks situation. Shadow variables cannot be destroyed the > way it is shown in our samples. Cumulative patches want to preserve > everything as much as possible. If I'm right, it should be mentioned in > the documentation. Are you talking about using klp_shadow_free_all() call in a module_exit routine? Yeah, I think in this case, that responsibility would be passed to the newly loaded cumulative patch, right? -- Joe