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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA29CC433E0 for ; Thu, 25 Feb 2021 04:31:22 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4D4F864E90 for ; Thu, 25 Feb 2021 04:31:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D4F864E90 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=zededa.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.89588.168849 (Exim 4.92) (envelope-from ) id 1lF8Ik-0004Kk-Vi; Thu, 25 Feb 2021 04:30:58 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 89588.168849; Thu, 25 Feb 2021 04:30:58 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lF8Ik-0004Kd-SY; Thu, 25 Feb 2021 04:30:58 +0000 Received: by outflank-mailman (input) for mailman id 89588; Thu, 25 Feb 2021 04:30:58 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lF8Ik-0004KY-3k for xen-devel@lists.xenproject.org; Thu, 25 Feb 2021 04:30:58 +0000 Received: from mail-qt1-x833.google.com (unknown [2607:f8b0:4864:20::833]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id f0172af6-da65-4b8f-b10b-9e7878abc6f5; Thu, 25 Feb 2021 04:30:57 +0000 (UTC) Received: by mail-qt1-x833.google.com with SMTP id r24so3240687qtt.8 for ; Wed, 24 Feb 2021 20:30:57 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: f0172af6-da65-4b8f-b10b-9e7878abc6f5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zededa.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0T3uLeLBGXJgEJu/REl6vggmqakFoedkqICiEkaRKKs=; b=KLyn6JoEnv7bHpi7AR1d95rtwWCZykuYY6zA8Ivc6BF0EKP1G9jtiVRwj8EIkubcf4 mLfkF+jPNXJWcDpnZPJxKsrp5ndmzMmp725Q3f3DeOS+19ecKy7rgaIelF1ueYlE8X+m /bvkgUVKsJK4QZQmjGUqj5ES0ev+2OX/uDHktZjThTb6EdTS7Jv8dPqKL1xxgYcjxOkk nlkACDvj0nEQA7FI5dPHZxfXv14D8K5BfdF/wZdzK4MdU54UusW88tVxpy1n82eiVr8T 8aD05891/u/aaD/+2YEaKI8Q5te2X5Mmsyju1gotJIUGAjMGRfG59MvEPtAS7PXHM6Mm 10AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0T3uLeLBGXJgEJu/REl6vggmqakFoedkqICiEkaRKKs=; b=eVZyiSpeyaRG0DD5KwS6XSPa9Ina/Ro9IwoUug8otSDUOiYOrw8LExsGrp+FqyQ2tr aAAl9bDN25Cd+EdV4SnCQrytIduislbo6nXkrKZJNOpBsGNliEyPCCwb4y0VWFIfSwZ6 2aYSzQvWqGPU8zcQBVKCnQJQD3tqNuR16MjqycBvMek0lvdZGxNKnBNjg0eosRTKyBuH XGdbIQJg63qVTrWAy2EuWW6c4Fq/MS3YVPyzkktfHL0KogSV1FE+j9HhOcmPT+iESLO+ TxiVuZwK1lV3taTdvwBQSXH7bu3HGu9SFm3589yNwewMMN06ZY5dWdgCHEHbwRxgZQwI QV0w== X-Gm-Message-State: AOAM533a2t6VXGQjav+lrXoTSV+y286M55yBIuVrqs0c7vF1cycYj5sZ TQIKXF+kbYIRjtPkPOFi/4haPyAPkMfxga21jSkdjg== X-Google-Smtp-Source: ABdhPJyJ/e31rV2RbhMb59nEfb+fxaEdYPWb6EVKePAyCZo+6V+oU92vbv0X3hDnkHPFH4XaTs+zBiQI62t8etKkqNs= X-Received: by 2002:a05:622a:81:: with SMTP id o1mr915447qtw.63.1614227456700; Wed, 24 Feb 2021 20:30:56 -0800 (PST) MIME-Version: 1.0 References: <45b8ef4c-6d36-e91b-ca1a-a82eeca5aaf5@suse.com> <49344e8d-5518-68c6-a417-68522a915e72@suse.com> In-Reply-To: From: Roman Shaposhnik Date: Wed, 24 Feb 2021 20:30:45 -0800 Message-ID: Subject: Re: Linux DomU freezes and dies under heavy memory shuffling To: Elliott Mitchell Cc: "J??rgen Gro??" , Stefano Stabellini , Xen-devel , Jan Beulich , Andrew Cooper , "Roger Pau Monn??" , Wei Liu , George Dunlap Content-Type: text/plain; charset="UTF-8" On Wed, Feb 24, 2021 at 7:44 PM Elliott Mitchell wrote: > > On Wed, Feb 24, 2021 at 07:06:25PM -0800, Roman Shaposhnik wrote: > > I'm slightly confused about this patch -- it seems to me that it needs > > to be applied to the guest kernel, correct? > > > > If that's the case -- the challenge I have is that I need to re-build > > the Canonical (Ubuntu) distro kernel with this patch -- this seems > > a bit daunting at first (I mean -- I'm pretty good at rebuilding kernels > > I just never do it with the vendor ones ;-)). > > > > So... if there's anyone here who has any suggestions on how to do that > > -- I'd appreciate pointers. > > Generally Debian-derivatives ship the kernel source they use as packages > named "linux-source-." (guessing you need > linux-source-5.4?). They ship their configurations as packages > "linux-config-.", but they also ship their configuration > with their kernels as /boot/config-. > > If you're trying to create a proper packaged kernel, the Linux kernel > Make target "bindeb-pkg" will create an appropriate .deb file. Right -- but that's not what distro builders use, right? I mean they do the whole sdeb -> deb business. In fact, to stay as faithful as possible -- I'd love to: 1. unpack SDEB 2. add a single patch to the set of sources 3. repack SDEB back 4. do whatever it is they do to go SDEB -> DEB Thanks, Roman.