Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1928605imm; Thu, 18 Oct 2018 06:35:25 -0700 (PDT) X-Google-Smtp-Source: ACcGV63pCWjPqtfGHI8Sj/Q9aATPRFe+LnPRZ8Gm7TEIcy5WcWbBo7Nd/GT56PEaIpIFA/54JBO8 X-Received: by 2002:aa7:8195:: with SMTP id g21-v6mr18858896pfi.71.1539869725697; Thu, 18 Oct 2018 06:35:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539869725; cv=none; d=google.com; s=arc-20160816; b=euIJu60Nl7BxG3y5rhfpExQZZQfSbLdkcKh6rvngpPNp1Su30M0m0C8ky/ny4mp601 jgu2ybZtKqwfj6yamKT5m69HE8Ub2Dwl0wzrzVn04o7tga74SxjAn+PxF8Fq6/uCtIBP q/ITPXMLHRExwJ0BdRNSwFIaykXGY5W5MXseCE/B/0m64HqaY607qyUtIUExo1cB1qYl 1L7ZBWpSyBD18bsrvRPV81TO9r7n8azPvnYBuKd14CNK+WH+B7jvTpm2SjijYR8KyGn8 1V9GP/nAnWuaLZ0zt8kak/7Mf6FYU0NsxbOc30aa5HJ0ja4xCplwr2lMOaV5fXIZ1MfY FXCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=iPv6uTeNNrqHOa1l5VCq1ngsWGTbrXTRyyxvvXnUhwk=; b=HSYy5tIA9darG25serPBaiJTUoVJNPa4pcI/9L8+Nan8ceI7tvVNEAaWg/0WObD208 mLa2Vj8wuktdtvogF9fU/QcPhcuKtdAirLkYHF+7eVza02cFiP9Mk7Mp8VyBNkg2S/Ct a2pEtmfP5TzQFQEqn9G4iLrhN00hptqPPZc+nRVAWzVVkbkNIy5L0AXqUVrnqPbblXK7 uA6OrRPgy8/v2vLrEySJRnknNgY7A2NxSpOUba8YnzLK8nLxamdmo5seX911F+OvJ6i3 okOUSoqj57qISsUNRKTWm2bzFzR+EDDYdN39LQKgYNbfmxGRWyHZHGarKp+nUO1/zij4 sblA== 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 e1-v6si21059377pld.277.2018.10.18.06.35.09; Thu, 18 Oct 2018 06:35:25 -0700 (PDT) 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 S1728073AbeJRVfo (ORCPT + 99 others); Thu, 18 Oct 2018 17:35:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48018 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727199AbeJRVfo (ORCPT ); Thu, 18 Oct 2018 17:35:44 -0400 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 6526C80F7B; Thu, 18 Oct 2018 13:34:40 +0000 (UTC) Received: from treble (ovpn-123-182.rdu2.redhat.com [10.10.123.182]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9E1455B6AD; Thu, 18 Oct 2018 13:34:32 +0000 (UTC) Date: Thu, 18 Oct 2018 08:34:25 -0500 From: Josh Poimboeuf To: Petr Mladek Cc: Jiri Kosina , Miroslav Benes , Jason Baron , Joe Lawrence , Evgenii Shatokhin , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v13 00/12] livepatch: Atomic replace feature Message-ID: <20181018133425.o3ykjjuqede3mmht@treble> References: <20181015123713.25868-1-pmladek@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181015123713.25868-1-pmladek@suse.com> User-Agent: NeoMutt/20180716 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.27]); Thu, 18 Oct 2018 13:34:40 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 15, 2018 at 02:37:01PM +0200, Petr Mladek wrote: > The atomic replace allows to create cumulative patches. They > are useful when you maintain many livepatches and want to remove > one that is lower on the stack. In addition it is very useful when > more patches touch the same function and there are dependencies > between them. > > Now, the question is if 13 is a lucky number. I hope so > and that this version might get merged. Any feedback? > > Not only from Mirek, please ;-) > > > Changes against v12: > > + Finish freeing the patch using workqueues to prevent > deadlock against kobject code. > > + Check for valid pointers when initializing the dynamic > lists objects and functions. > > + Mark klp_free_objects_dynamic() static. > > + Improved documentation and fixed typos Other than the few comments I made, this is looking good to me. I'm optimistic about v14. It's probably best to not merge a v13 anyway. ;-) Thanks a lot for sticking with it. -- Josh