From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9C72CA0EEB for ; Tue, 12 Sep 2023 14:43:07 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qg4ad-0003C7-2T; Tue, 12 Sep 2023 10:42:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qg4aY-0003BY-MW for qemu-devel@nongnu.org; Tue, 12 Sep 2023 10:42:03 -0400 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qg4aW-0003Pw-7b for qemu-devel@nongnu.org; Tue, 12 Sep 2023 10:42:02 -0400 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-99c1d03e124so708617566b.2 for ; Tue, 12 Sep 2023 07:41:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1694529718; x=1695134518; darn=nongnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vUKHpgqm2iAf2/dABtDx/F3pyl52yT4elio4vAfKCc8=; b=aFkY+d9/nXXBRuOH5kMCvxZh+qqkqP8eRJuN9HVAuF7KNelHCLdXbApCkzf9d3iOSt SK0nQonci+b2abuHb5/u+pc+/8P8XvcqxtHsw+N0bq1s/kMSJwEhLkyU6kEqgEUaU4M1 A/h2NLR6drm8XjP0/wDNzkFO4mqouzKGenR0SLf+TLt6JjZ8UMJbSzv7HhGuvUYRhBLA 73z6cxtDUZgE5ViG1VZK6Ei2Ycpb9qe8EgT7p4JLLMsPSPNZgSupCkWpTj0tBb/Ahtr1 JyFcwuKRWOxJBJ0o4Qr6NCF9yAx0kv7ia3dGLG15xq/miRqy8foCPCH1pNQzu1f0YdpD 5pKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694529718; x=1695134518; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vUKHpgqm2iAf2/dABtDx/F3pyl52yT4elio4vAfKCc8=; b=bHOlkqhzEe9U4IUh+IAPqVS0By6VYPYYkDj556qeVwAfazisSKviHMQz0dxzYrM3RC 24oqt42jhNdxrWq6E8bYKdj3SWXdvlDyzTf4RHkhLewM7j2SDhfG0/fxZAhobtqHVW6J kKVvirLzNrnQuEGBTU+Bxx0YhuWINwquL7SVRzMOk+mlikqp7Mknlyegjqocfl13SSK0 5Hs3ZV2C0zQRzVcLeXFOOq6tUUh70aygIawZbfNtohxc0AqDorQDSL2Ubfjje2uBb7AU UuRfC5q6W6s9/SxRecL/WV0p+Stte/pmcJRGg/5lGCN3tswix3+j/WFY5CftT2CyqFPm XOAQ== X-Gm-Message-State: AOJu0YyOyQcZsWe8qhTxf48dILWOipaeW0pv4mcJaq9oxfpP/tZTKltl 96iWib9v7rQn6Ui4dOM2XBAvk1sbSM4HbyTAJT8jgw== X-Google-Smtp-Source: AGHT+IEthlxM/u4JRpesHRXncrj89CpcRBs21oHMZfSUlKSn7L4l1sxHSo5Lyj8aOqZgrA36z4bJyb0+lNAFBD7nTF0= X-Received: by 2002:a17:907:2ceb:b0:9ad:8ef8:a7e8 with SMTP id hz11-20020a1709072ceb00b009ad8ef8a7e8mr1133664ejc.25.1694529718089; Tue, 12 Sep 2023 07:41:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Tue, 12 Sep 2023 08:41:46 -0600 Message-ID: Subject: Re: cherry-picking something to -stable which might require other changes To: Stefan Hajnoczi Cc: Michael Tokarev , QEMU Developers , qemu-stable , Thomas Huth , Bin Meng , Paul Menzel , Stefan Hajnoczi , Paolo Bonzini , Richard Henderson Content-Type: multipart/alternative; boundary="000000000000e8950d06052a71d2" Received-SPF: none client-ip=2a00:1450:4864:20::633; envelope-from=wlosh@bsdimp.com; helo=mail-ej1-x633.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org --000000000000e8950d06052a71d2 Content-Type: text/plain; charset="UTF-8" On Tue, Sep 12, 2023, 8:01 AM Stefan Hajnoczi wrote: > When I backport patches into RHEL, the general process I follow is: > 1. For context conflicts, just adjust the patch to resolve them. > 2. For real dependencies, backport the dependencies, if possible. > 3. If backporting the dependencies is not possible, think of a > downstream-only solution. This should be rare. > > People make different backporting decisions (just like structuring > patch series). It can be a matter of taste. > We've done almost exactly the same thing in FreeBSD for the past almost 30 years (with varying degrees of success and nuance, to be true, often limited by early tools). It's an excellent ideal to shoot for, and we've had troubles more often than not the further one gets aways from it. Warner Stefan > > --000000000000e8950d06052a71d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Sep 12, 2023, 8:01 AM Stefan Hajnoczi <stefanha@gmail.com> wrote:
When I backport patches into RHEL, the gen= eral process I follow is:
1. For context conflicts, just adjust the patch to resolve them.
2. For real dependencies, backport the dependencies, if possible.
3. If backporting the dependencies is not possible, think of a
downstream-only solution. This should be rare.

People make different backporting decisions (just like structuring
patch series). It can be a matter of taste.

We've done almost exactly=C2= =A0the same thing in FreeBSD for the past almost 30 years (with varying deg= rees of success and nuance, to be true, often limited by early tools). It&#= 39;s an excellent ideal to shoot for, and we've had troubles more often= than not the further one gets aways from it.

Warner


Stefan

--000000000000e8950d06052a71d2--