Received: by 10.192.165.156 with SMTP id m28csp420463imm; Wed, 11 Apr 2018 01:02:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/07pPITfrn3p8DIv/MHEr3I0wSNiA9impknas7Fj/g9Xysbh8o7ULGeXAnFIEZxn8QfXra X-Received: by 10.98.72.74 with SMTP id v71mr3066366pfa.241.1523433749004; Wed, 11 Apr 2018 01:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523433748; cv=none; d=google.com; s=arc-20160816; b=GZQeaxuKjwpa2lksezvSr4NbdMPEBB8AFBUW7hHBsvk5vBPs3aiK4Np/kI55G3mpKo EMRO996cN+ov6ptPO+qOh2yIIbrOLDonAJ2Se4/sTsnWkp4ul7oNkpHHHTm9rOF9Rhlk 6LL/DriU5YC4WfLoD4mcB51A+kE9S9EDxq/uwbrv5KqjBbHX9MyNYfGi6LoqvHpUNnUA LGGCSwTufHtxS6bKVtj2TSXWq2u8uKw5VoXwiNQwJHL474d5UYJoeqOaao9S9RZRbSZ3 uWmXZL86u31EUWa9o/0sh1wNCHi8m01d3m3eC4uTVGjN1kGLPE6bSkIb1DIqrmJ5fDFL 2YWA== 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 :arc-authentication-results; bh=9TPpwqBcltqASGrtGOgYBRVR+Q7dvOMYyPmcDzeN6Io=; b=LZf0SBG1WS9j0EgweaiZ4H4swvMFrAPDKY2s36SsoL/SOyPDjLL8GKviPQdbmwa+kY LdMm6Lm4q8+lsH+qBuJrc/rUv0Q5I9on2+vvqvTFXZj3IAdb7615JJPJHZZPfXJVkEUD axF5fE0cjm0BPhS6k4pdbagLuIyMt92Aa5MIYsb6mRBlmYNJGDYdRC0RB7RQMvBg3rBb XgB4hTFYhniDrTQg5q3fK3OND/wA/81Xa3V+0/Jxs8WaDUA3iuKirMuVM9gnwZIV5O0D 9d49FY0rJX300CkZZxJLUG5PVeCxCOektfb6ropejDLSTqEtuSlBqiCfQ3ggyXkLEGi/ ZdAQ== 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 c1-v6si629322pll.449.2018.04.11.01.01.52; Wed, 11 Apr 2018 01:02:28 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751970AbeDKH4L (ORCPT + 99 others); Wed, 11 Apr 2018 03:56:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:51008 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750730AbeDKH4J (ORCPT ); Wed, 11 Apr 2018 03:56:09 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4DA92AB5D; Wed, 11 Apr 2018 07:56:08 +0000 (UTC) Date: Wed, 11 Apr 2018 09:56:05 +0200 (CEST) From: Miroslav Benes To: Josh Poimboeuf cc: Evgenii Shatokhin , 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. In-Reply-To: <20180410174729.nsamiif73pynfla4@treble> Message-ID: 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> <20180410174729.nsamiif73pynfla4@treble> 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 On Tue, 10 Apr 2018, Josh Poimboeuf wrote: > > > 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. Heh, so I misunderstood. I thought you were talking about the removal of the stacking. Now it makes more sense. > So I think your old way of doing things (individual unrelated patches on > top of a cumulative patch) would still work. Yes. On the other hand the user needs to be even more careful, so I'd expect an update of documentation with the removal :). Miroslav