Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1098762lqo; Thu, 9 May 2024 05:00:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUe26x4Zy5F6DVwo3Hda3BmlBcyOO3OETM4KkIwHKsefjUSZc9d0Jz6lf0JfOdqTWspUamYHAAsw6NrswsCAWrzQl43yHzbea0YO+qbVw== X-Google-Smtp-Source: AGHT+IHzpeCfXnWSrvgsMCjxlojli/APApjfqFnsiIkERE81QTn/fCKqYG18I4NxXC3n0zwXeV9h X-Received: by 2002:a17:906:7051:b0:a59:b8e2:7f26 with SMTP id a640c23a62f3a-a59fb6cfbeemr330633166b.0.1715256004725; Thu, 09 May 2024 05:00:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715256004; cv=pass; d=google.com; s=arc-20160816; b=BT6bn9DGJPo6ppu5nSTmP4wmm00HEywAUGva9lanHvs5uUE0jAdpVOrxmACDC3nX64 q89G1CpRDIdKQTGyx5V3YLJjLRXV8B26DV2wg9Yhu0I1EWahQ7tVFLQgVvKSNSr8TvJ6 Dtb4tuL/PrhgT/ubrSrWNzuwzLMrI51nsnhr97sQ11LmA//DkGdirbNb/6AktqDw5CNO Y8HY2954ErWe+8wQlPqX5wBURe76Rwa3VC5sd+BM1b9xy+rBfgkVvB8BjRBtc+dVN60b QvEahT/Cg2reVQaBhHaNIGEJ6zKAwC3makL0Twuut8J7+x+QhfjvF3MMlvUdBnaYvxn7 DoaA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=lYeXs/p71Ooa+HWncjH7t4POBonoP1OKJDDYzGkDBlo=; fh=nsAMMU9zEMnYd3PDXNLXdsF4UzHHbDThri0RkTeYfN0=; b=Yb8PD/2rNi4UvtQ5CtjU0lt0KGLoeZ5xk92e23qeXPyowhFkQlsuHcjhB7Aq/HBg3G AkLPrcJ/PARiQsrMMei48w+9mFri7MAT5atoXY24H2zgb66W8JZN1T/diAgjtoJX/K6N n3Vbq1jpN0iy6s3MFQCVK8oni7OhMFOqfpgmQKYAkCuTV4Rp8QIMcL9GZwkrBMWzzYPb DP/SoL0/D3EFBbCo7HB0lUN9iwkVJL8woauBz2LoGzNOLmB/IP3aM48bVBoj8JlQmm7l wQGQ+0sPwu3VhtBGnFNxB/KN8m9lY219levrLmy18mMvvruapq2Ab+3Gpf9ZspI1+Dtj RbVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Y/hTGNJv"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-174459-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17945eb6si81593466b.197.2024.05.09.05.00.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 05:00:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174459-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Y/hTGNJv"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-174459-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 755BD1F22DE4 for ; Thu, 9 May 2024 12:00:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D059514B95C; Thu, 9 May 2024 11:59:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Y/hTGNJv" Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A019414A90 for ; Thu, 9 May 2024 11:59:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715255986; cv=none; b=rCKuIM4f0xrRxc2JaaPiedrc4FF52TToSUMxMokQgJ0xOEeNLXNw9s1t/KRuXqoHc+UKk055GFdRESaBu9Hc71UJQx/qzNNWs8w24bO6ReK7sCNRMfJ1MBquZJbeV0r4rCoH98yGeW8iL04XQ6BjfPl2quZQ40NeK/4dG5Nm5MI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715255986; c=relaxed/simple; bh=lYeXs/p71Ooa+HWncjH7t4POBonoP1OKJDDYzGkDBlo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ImUXXU48Q+oxTHfinkSlEPAzIIdZcuHrYoUxbN60Th03pIvgL6DZb35Wx3Ld63x6I62GUla45M+7eKSwCZO1nkzxbBWY8qcV6m5s6Kd2VSxR3r88Geyfy+ZRg/uTOvtf1WSJI7D95gNqcpkV4PCOfVI7Bfd9dHa5p8JS56OssT0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Y/hTGNJv; arc=none smtp.client-ip=209.85.219.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qv1-f41.google.com with SMTP id 6a1803df08f44-6a0e69caf90so1077756d6.2 for ; Thu, 09 May 2024 04:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715255983; x=1715860783; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lYeXs/p71Ooa+HWncjH7t4POBonoP1OKJDDYzGkDBlo=; b=Y/hTGNJvEwtPJqGhIsTR0gX6SU6atngU9TSj+SeeNMcGNRLGZyQ4u/syaCrA3FVL8S /ZAJ7YsiKWEU1yoQBpNQ6T4ay04FcJEXFcybzfcTsMm2hCJPfhVx0FB2wQbjOXzguxnx aoV+OULAlFaQ4PV/4yJQqzpAmAIF1JLdY4IKMusMa1ot0bQ6zULsxAtgsE80NwPvlkJ/ rTD8J2KnkkYQSvYS63TRypa4gT0I0rn49pyR8iC9cbbZWtpZ6Zia7gRyjmk/kEZVfcV1 DLNwO7D/5y5Y7dslj//TFtiZUd2UiVULSpKTp3nVbsKXoasTlOsn4i5Lslwb7n7G2ZZh 2MhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715255983; x=1715860783; h=content-transfer-encoding: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=lYeXs/p71Ooa+HWncjH7t4POBonoP1OKJDDYzGkDBlo=; b=VlCZ/k56q3164xUlf7IkB+QDefDC8sBQMuKlyBYHsCL3YWNtrzinCYH6h4qEeiEiiW NpOj8SLC2Qo7Mt5NHFO8W260TZegyMNhSY1rDs1cVSn/al2ABvMalJU3pa56bVuQoipN KycZRBdsnpLcGUe9cHA/yvUQuFUKz8O0+QIaC+TRTZ7Sfk2qndyOCBBL52mumySS/iQn Z3mxE1GEsZY9TTioC9z8jC+c8Jlz22eOkvJjgrf+PtRaipAZwgG1bDUGIs1yBV6+Z3+a 2s9JXltQBWYPOJaet7PlMYrnBHoWcDq8dQdSqaf63BKc+uJOhKqbW0+SCyoS76J35jL4 ELyQ== X-Gm-Message-State: AOJu0YxBgvw5XRlA7TtxuUZlJ+9gIR/9EtBiLEhIyYP49HWrweRVkX77 811J7nv1lWPJKnGD/TCw+qJyJBkoQQfuj4266mEPKJ3ecHW9bHs6wtUoivVoAoYbhbq/eAqa8Vs ARTNskDtwBWHjVe0Rt8TrwwPuOoGut/t0PpFHPLt2 X-Received: by 2002:a05:6214:3005:b0:6a0:e713:2121 with SMTP id 6a1803df08f44-6a151384c17mr62184766d6.0.1715255983399; Thu, 09 May 2024 04:59:43 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <0672f0b7-36f5-4322-80e6-2da0f24c101b@redhat.com> In-Reply-To: <0672f0b7-36f5-4322-80e6-2da0f24c101b@redhat.com> From: Mikhail Gavrilov Date: Thu, 9 May 2024 16:59:30 +0500 Message-ID: Subject: Re: 6.9/BUG: Bad page state in process kswapd0 pfn:d6e840 To: David Hildenbrand Cc: Linux List Kernel Mailing , Linux Memory Management List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, May 8, 2024 at 10:45=E2=80=AFPM David Hildenbrand wrote: > > "page dumped because: non-NULL mapping" > > Is the relevant bit. We are freeing a page, but page->mapping is not > NULL. IIUC, it might happen under memory pressure when reclaiming memory. > > It's weird that only you are seeing that, if it would be something > "obvious" I would expect multiple reports :/ > Maybe because the problem is really difficult to reproduce (rare combination of the kernel build option and workload). I even thought that the problem was fixed because it did not reproduce itself for a week. But yesterday when it happened again with the kworker process, I stopped doubting that it was fixed. Now I am concerned with the question of how to be as useful as possible when reproducing bug again? --=20 Best Regards, Mike Gavrilov.