Received: by 10.213.65.68 with SMTP id h4csp4203272imn; Tue, 10 Apr 2018 10:52:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+f66Eg+1wzAjGZX+EgpwcQu7BAt68eX1IuOACh/1uHXi1Y92jTsJE94PvNwSpToD759q4P X-Received: by 10.98.34.89 with SMTP id i86mr1173445pfi.224.1523382740268; Tue, 10 Apr 2018 10:52:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523382740; cv=none; d=google.com; s=arc-20160816; b=JEtuy4XkZ917Na29VK4/zBcDUI+Qf25KQ4aIp6DfBGHobLuM1eXPLWDadtou4kyk43 hfqTcNozlym2WtYUf19eI8G1EELkh+iePhfIJTihaxWJyzPUVyKrO/9W8zAVKzGi/Hrl RuA7Xwqe9mv8lxHVFAI3rbmqSk6Q7Bl9Igm4+MOO+brKDZniloPBJLfXd20xrDr8OPk6 OP/P9LThz2SLEFLmk9CowKm8HbombDDsx/afyvCsmII738c7MVZKpX5QMtcTmBbPANGE Cxc1pCSAjv1DFZzUKFwND8/+5x33y74+wPDtqugvqJXub2P8v4DVgbEPolI1JKjJjpls JeEg== 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:arc-authentication-results; bh=tYNvgZfFdRu4Wp+xaDkAlazEYmyjLd3xEL6myu7Orpg=; b=bp0JuljfjpTzLRAjI61H8sRkSD6V0/YiJI5aerKnnLd78uP2GOJ7H7j5iGiDUnfKaf /7OWqCjFoFR7Ekmd6epPLAVtbkrouhnMm63UCMIw48ghr7qdrGlyNZrVYH8CE1gwTUX/ FYZqwnEH1qCnskMbwN8IaLN/npsNFyUtGb6BYVLkm+AsuG7Y+BtW71J26inSZl523jof JSc6wPowkmvqFbFcy5Mx9y4XLBvRqrrK5R5udGoiAQltZsVolDW7L/HIu73H5ge1uu6h 2i2MvcNid/2QXbgtcEsPygnRrn7hVngzhpQ8TrYRc+DzQ/Vl7zYV2oO88yIq0DgCIxLp 3t9w== 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 q26si2158888pgd.280.2018.04.10.10.51.23; Tue, 10 Apr 2018 10:52:20 -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 S1752140AbeDJRrb (ORCPT + 99 others); Tue, 10 Apr 2018 13:47:31 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:41450 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751505AbeDJRra (ORCPT ); Tue, 10 Apr 2018 13:47:30 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1CC0CFB649; Tue, 10 Apr 2018 17:47:30 +0000 (UTC) Received: from treble (ovpn-120-110.rdu2.redhat.com [10.10.120.110]) by smtp.corp.redhat.com (Postfix) with SMTP id 472442166BAD; Tue, 10 Apr 2018 17:47:29 +0000 (UTC) Date: Tue, 10 Apr 2018 12:47:29 -0500 From: Josh Poimboeuf To: Evgenii Shatokhin Cc: Miroslav Benes , Petr Mladek , Jiri Kosina , Jason Baron , Joe Lawrence , Jessica Yu , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v10 05/10] livepatch: Support separate list for replaced patches. Message-ID: <20180410174729.nsamiif73pynfla4@treble> References: <20180319214324.riyp233trtfxbeto@treble> <20180320122538.t75rplwhmhtap5q2@pathway.suse.cz> <20180320201502.2skkk3ld4zk2dxwg@treble> <20180323094507.smsqc5ft3yajnwqt@pathway.suse.cz> <20180323224410.vuq5cabfprqhd6ej@treble> <20180326101107.bbloeh5l276on7uz@pathway.suse.cz> <20180406195049.dtfebzfdkbvv6yex@treble> <20180410083455.l26dgo5kx4cy7bc7@pathway.suse.cz> <127f954c-88c6-30cb-bf14-7ab2fad70158@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <127f954c-88c6-30cb-bf14-7ab2fad70158@virtuozzo.com> User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 10 Apr 2018 17:47:30 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 10 Apr 2018 17:47:30 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jpoimboe@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > I agree here. Practically we use only cumulative replacement patches at > > SUSE. So with that in mind I don't care about the stacking much. But, it > > may make sense for someone else. Evgenii mentioned they used it for > > hotfixes. Therefore I'm reluctant to remove it completely. > > Well, it was convenient in some cases to provide a hot fix for a given bug > on top of our official cumulative patch. So far, such fixes were only used > on a few of the customers' machines (where they were needed ASAP). It just > made it easier to see where is the common set of fixes and where is the > customer-specific addition. > > I think, we can use cumulative patches in such cases too without much > additional effort. For example, we can encode the distinction (base set of > fixes + addition) in the module name or somewhere else. > > So, I think, it is fine for us, if stacking support is removed. Especially > if that makes the implementation of livepatch less complex and more > reliable. Just to clarify, I think we are just proposing the removal of the enforcement of the stacking order. We will still allow multiple non-replace patches to be applied. We just won't enforce which patches can be disabled/removed at any given time. So I think your old way of doing things (individual unrelated patches on top of a cumulative patch) would still work. -- Josh