Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10413338imu; Thu, 6 Dec 2018 00:10:16 -0800 (PST) X-Google-Smtp-Source: AFSGD/WkH8Fg7eT8P/IjVlmWYbRaaUusE0jujK4anovo2FlSX78O7vqknDnZ5PhpbXXGxO9enhmA X-Received: by 2002:a63:3c44:: with SMTP id i4mr22900261pgn.286.1544083815979; Thu, 06 Dec 2018 00:10:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544083815; cv=none; d=google.com; s=arc-20160816; b=BlHhM29W2Jy1yL+uN/27BoO86k05vxVWbbKPFOJnIpsTCq4dRTRFq1yASN+B2HU5IH Cr78QZnGLSWe2D86PICpM6nMpM/RICdhEec4KAywZ6DMKG22Nbx8ytSaSegN70PwOCIQ nE+1jsZZO6SYrkzcQTz8p6exm32RC7svgdlqu7ekR/oAsTPIEHNWPyfSqgDRAWzlDeQ1 hVrNurp5wchqLjLI2WvaOdGU/HOL5G1hW0RBsrhtTSwgcKEAQ78oPkkf+ALTLeA9OcP8 UWMVV3cXYq4b975EjAw8JeCpLra8YM9d0/4FfIWlzQn2GsQA+q0qSEmry/aSpdtktgwV rCPg== 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=xkDiyoLt/rGS7vl+WCoQ+hF5HgypwfAnRteHYr2Tn/M=; b=lKD1Hl9TdoMFFS2Qc5Erl1amPqWJXnn66spzf3bBux3i/xfx6phxF2CjfaigbawlTW 003VjpX3zAHQPzd2MzylBoHc4F2/Dek/Qs+tySurg3t89AH49D2JuI83BAx0G7VKHxH9 T8S4eKMgUS1ToZ7gF9lj+as0mMxPhOOkmBRgNPOrL83zmfXc286HkIZ4jxJofC1FdUnK cslP6UL4nVbJUmY5dC0FQR90quI8AqUehCPZcBk81abCGD95ySVW1gAe97Y+61pp5fn4 7fXx1nOcBtYy88Q+EhcxiWmKx9jFPKinRxdhbQ0IgrkY9Rct150VDBONcoBEU42y6qoN OBSA== 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 j6si21515465pfc.57.2018.12.06.00.09.52; Thu, 06 Dec 2018 00:10:15 -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 S1729193AbeLFHyI (ORCPT + 99 others); Thu, 6 Dec 2018 02:54:08 -0500 Received: from mx2.suse.de ([195.135.220.15]:38412 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728964AbeLFHyI (ORCPT ); Thu, 6 Dec 2018 02:54:08 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 13759ACF8; Thu, 6 Dec 2018 07:54:06 +0000 (UTC) Date: Thu, 6 Dec 2018 08:54:04 +0100 From: Petr Mladek To: Joe Lawrence Cc: Jiri Kosina , Josh Poimboeuf , Miroslav Benes , Jason Baron , Evgenii Shatokhin , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v14 00/11] livepatch: Atomic replace feature Message-ID: <20181206075404.rv4qyw2u5auvfiuz@pathway.suse.cz> References: <20181129094431.7801-1-pmladek@suse.com> <176e592d-6e9c-8e1c-abe6-d07ba9b10d54@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <176e592d-6e9c-8e1c-abe6-d07ba9b10d54@redhat.com> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 2018-12-05 15:49:14, Joe Lawrence wrote: > On 11/29/2018 04:44 AM, 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. > > > > Changes against v13: > > > > + Add custom kobj_alive flag to reliably handle kobj state. [Miroslav] > > > > Aside: I don't suppose that this could ever be folded into the kobject > code/data structure itself? This seems like a common problem that > kobj-users will need to solve like this. I am afraid that it does not have much chance to get solved in kobject. They are not designed to be used in static objets and there is pushback against this usecase. > I don't have many code comments as the changes appear to safely and > correctly do what the say. (We are at v14 after all :) I mainly > compared the text and comments to the implementation and noted typos > (marked by substitution s/old/new) and awkward wordings (marked by > "re-wording suggestion"). That said, I ack'd each patch as I wouldn't > want these to hold up the patchset. Thanks a lot both you and Miroslav for the review. I'll give it some more days before I prepare v15. I wonder if Josh could find some cycle to look at it at least from the top level. Best Regards, Petr