Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp688456pxj; Thu, 17 Jun 2021 11:25:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUA5eA4DhFZKCsesIczfemXQtjfqvjioM06u6d6dcqwdwbcOeT9wW3Sp2UdDNJsDkRZJ+X X-Received: by 2002:a05:6402:358d:: with SMTP id y13mr8586904edc.264.1623954353696; Thu, 17 Jun 2021 11:25:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623954353; cv=none; d=google.com; s=arc-20160816; b=yemWSJZTWsI1QkSkrmdRmGZ0Wn4r2YGvXXMvP7FrhObB9iwR2L0pqlMBNG5OpmFru6 mtVEIrgay3OTLcaWRudnZJe0Hpxn/xGwvMKCO9beCaFRfgMWK1RbrUZppTpk64IC3U5x ocGyFSjF7YGxErAL7QXlFZz1smdbqYipV9hODyUQC0wtX3H8PbPr3KMe/tNZ72wnYPKo sVrW8zA/WP/8TNCwyn2n66LsP0x/af1aGc1ybICaLiqFAplZ+xrsk974Cl2bxsKBbK+0 YjdNRhgdKeUYMn4GuKvvahg//rN6Gv9s016Ke+deYywI0AMmlHNz7AQ7Ivjr5OutKd7o 6SZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Gffjb4M/ANAqzeNlRTmLWG4NfOIBWBpaTeKu6FSOXY4=; b=iR9hKYqgM3lxojT3XtGqxLeJmoBtvBiqDD5xCdKoiNxS3Ivum6zkpyHk/y9PlH/zvP fBNcqn05D7/wJh32odfZGfAucO3YqnlrnmdKgIvjvp5Hi7d+tO/TtQC5M3arPVy+v5AL /jd0ueZGV1QURqSljw236YerqLuj+TWhECXWbqXFisFxTQGSEZppaYsGEodqaYuYQRL5 Ext7OFyMzJTraf/P42jveDYHTqHsPlMy3bnki5WMjGV6eM3x12fOOt8JbcDyS9F5gxyC asmW7CJevOX5Kt2AB3bkAkra3ueeCL8+B7dxqL0/UP1rnIt13HWjTIkLsPjyd0a4CWCR Crew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=e2pya7mj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hx12si1540688ejc.208.2021.06.17.11.25.31; Thu, 17 Jun 2021 11:25:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=e2pya7mj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233049AbhFQPEP (ORCPT + 99 others); Thu, 17 Jun 2021 11:04:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233117AbhFQPEL (ORCPT ); Thu, 17 Jun 2021 11:04:11 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2433C061574 for ; Thu, 17 Jun 2021 08:02:03 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id z22so9432577ljh.8 for ; Thu, 17 Jun 2021 08:02:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Gffjb4M/ANAqzeNlRTmLWG4NfOIBWBpaTeKu6FSOXY4=; b=e2pya7mjwKyFA8vanJytXcFh7uxmGZPAlpPiR4xcGsuhpU8OpojtLamxouDGkOAAMZ IwsLcVvossuqnXnFhoiFkeYFbsstgBxSGF9e3AJISi2nxNC5XwHJyzfUP8NkIXRymNUQ UxNen6DuR0XCy7bVfX0EYRyv6AW8cQOVq9as4= 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=Gffjb4M/ANAqzeNlRTmLWG4NfOIBWBpaTeKu6FSOXY4=; b=QVgmU6fcOnQaS7riiK55e4A+SqBMqau9zlZSOxC7ShpF92sm3kjmsPN4j2PUJP7OMP v3Q2aT39XTHE+CFHyb0i5eMCPvPgBmJ4/qRp9JDHz0Aoh/Ol6iYKInec5lgL6WDXmUdL w0n8F4xgv6Ed5BIlI7i7b2LkKgO4DJkjNZfYDfiwkVhI+7wm3xfUSxjhNFd6rbRWGYqE FvijGh4iRpBxRN8trbTuJzlIG+gWSJTPyOg9Wxr09XNYLkc3trkde14OMxuwGImLsoFv lZj30EzVhvtf+FbeYSGMl7tzyBrp4N9ZrzX5wJssf0hUuUFR0+4y/Voni9etnbqfFTtx 9nuA== X-Gm-Message-State: AOAM5306TY/okzujAD1tNdauFCif+V02pvte5JDLubzIjsT1ul/01OeW 2ZFvVlW5XtVwwkLmZLTRDxmXgM4bZqeKeLGtY0o= X-Received: by 2002:a2e:530e:: with SMTP id h14mr5110499ljb.454.1623942121706; Thu, 17 Jun 2021 08:02:01 -0700 (PDT) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com. [209.85.167.50]) by smtp.gmail.com with ESMTPSA id w24sm682201ljw.68.2021.06.17.08.02.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Jun 2021 08:02:00 -0700 (PDT) Received: by mail-lf1-f50.google.com with SMTP id f30so11094381lfj.1 for ; Thu, 17 Jun 2021 08:02:00 -0700 (PDT) X-Received: by 2002:a05:6512:3f82:: with SMTP id x2mr4241418lfa.421.1623942120465; Thu, 17 Jun 2021 08:02:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Thu, 17 Jun 2021 08:01:44 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Linux 5.13-rc6 regression to 5.12.x: kernel OOM and panic during kernel boot in low memory Xen VM's (256MB assigned memory). To: Sander Eikelenboom , Rasmus Villemoes Cc: linux-kernel , "xen-devel@lists.xenproject.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 17, 2021 at 2:26 AM Sander Eikelenboom wrote: > > I just tried to upgrade and test the linux kernel going from the 5.12 kernel series to 5.13-rc6 on my homeserver with Xen, but ran in some trouble. > > Some VM's boot fine (with more than 256MB memory assigned), but the smaller (memory wise) PVH ones crash during kernel boot due to OOM. > Booting VM's with 5.12(.9) kernel still works fine, also when dom0 is running 5.13-rc6 (but it has more memory assigned, so that is not unexpected). Adding Rasmus to the cc, because this looks kind of like the async roofs population thing that caused some other oom issues too. Rasmus? Original report here: https://lore.kernel.org/lkml/ee8bf04c-6e55-1d9b-7bdb-25e6108e8e1e@eikelenboom.it/ I do find it odd that we'd be running out of memory so early.. Linus