Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8378241imu; Tue, 4 Dec 2018 07:29:56 -0800 (PST) X-Google-Smtp-Source: AFSGD/WRs9Fm2X3FnD57qxnm2X8oQE8xIUMo6NT0NQzQtQNtFmkWEBGDpnrB6dZ3ivyyHroAszlO X-Received: by 2002:a17:902:b48b:: with SMTP id y11mr19681402plr.200.1543937396544; Tue, 04 Dec 2018 07:29:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543937396; cv=none; d=google.com; s=arc-20160816; b=ny8uSe2qNJQvwobKhejqKs3MBdc1gwGLYiTpXDeFMe5hhLZ/3h36uSnBbIaoQUALVp oWWWs5tn3Iv6qnBrrmPXjKVSV04SSCyfZt3bfvmx1FkmHd72gpve4KVHCHz4A356TPwY jLgM65+jeC+O5JlLrb02S3UUtVdqNjhx9IOm660+QjpC3FCRTg2P91PT+oLZy2q0Mi8d YWkrjHaQ9nyOXcTllnQdF8l3EOlGcDUxmJmio0PqRbsEkuZJV5BYHKhQi40oH/vYWPJ2 XHn8p7yrb5+dBofjPhhyvZgU8ps35HFqSyPi5CKGgDXM24Zqxw640PWCzP7wtI+zZx2r ivtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=YyYrqNCUwMn9/ZKLuVFJPTlnt3uZD7mA6NNIFARU8/E=; b=xbhWbtQlvLnTfMjJWFPthenQOeJF3EpJZHbtZDvyoMUwzNSsQi61CYckMkIvESd4kh iTKPwIqrvoE0dKoRyR3tGYMHQ9p4L+Zlo/FZrH8zENeX2cwnnvl8ebMNNtj/iyc+Z4Ev AbS40XmobMGxiSsEztBkFP0k2mtDgF4nj4OBSY7xK0eAB+xvhxhvYnIhQqEJZ3r5u8Wn iHAGTGfTvdMyOFuOosqfvvN7HIuskLYAAH6W33ThuIJTrkt4E+qusyIKZHWrhC6336A5 jiRkK9hV3x7cSyUER+mcmVj6F1ZFS9XEMol7ocbgLaYNKFh5D7BgeBIApPjLuS8H+awx e4Rw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p11si4044311plk.191.2018.12.04.07.29.40; Tue, 04 Dec 2018 07:29:56 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726742AbeLDP1r (ORCPT + 99 others); Tue, 4 Dec 2018 10:27:47 -0500 Received: from mx2.suse.de ([195.135.220.15]:34070 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726674AbeLDP1r (ORCPT ); Tue, 4 Dec 2018 10:27:47 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id E9ED2AD38; Tue, 4 Dec 2018 15:27:44 +0000 (UTC) Date: Tue, 4 Dec 2018 16:27:43 +0100 (CET) From: Miroslav Benes To: Petr Mladek cc: Jiri Kosina , Josh Poimboeuf , Jason Baron , Joe Lawrence , Evgenii Shatokhin , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Jessica Yu Subject: Re: [PATCH v14 07/11] livepatch: Add atomic replace In-Reply-To: <20181129094431.7801-8-pmladek@suse.com> Message-ID: References: <20181129094431.7801-1-pmladek@suse.com> <20181129094431.7801-8-pmladek@suse.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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -5.3. Disabling > +5.3. Replacing > +-------------- > + > +All enabled patches might get replaced by a cumulative patch that > +has the .replace flag set. > + > +Once the new patch is enabled and the 'transition" finishes then > +all the functions (struct klp_func) associated with the replaced > +patches are removed from the corresponding struct klp_ops. Also > +the ftrace handler is unregistered and the struct klp_ops is > +freed when the related function is not modified by the new patch > +and func_stack list becomes empty. > + > +See Documentation/livepatch/cumulative-patches.txt for more details. which is added later in the series. The rest looks good, so Acked-by: Miroslav Benes M