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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FCBDC433EF for ; Mon, 30 May 2022 18:39:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1560C6B0071; Mon, 30 May 2022 14:39:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0DC726B0072; Mon, 30 May 2022 14:39:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E98B66B0073; Mon, 30 May 2022 14:39:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id D6A446B0071 for ; Mon, 30 May 2022 14:39:19 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id A282520C7B for ; Mon, 30 May 2022 18:39:19 +0000 (UTC) X-FDA: 79523272038.26.715A502 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf11.hostedemail.com (Postfix) with ESMTP id 1B0704001F for ; Mon, 30 May 2022 18:39:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653935958; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=oREYfii8268D+SJ71twg9YvDIowl5zBevuAhXKYzK4M=; b=MvX3o9zwMnvqc0+rnCyAWUyaQXjqSZ1yO8XkIp4Ava7AZq7E+sy4z/09gMDp50sg82yxu5 SMOy+xCF03Gj1Pz9hHlPfr41IaebLSYBlLhguYjrf8E9xoDFjG3WzVeKpuWp27WE5FKvLu bgIStCT4euGg7mF+R1LlOa5gS1H53mE= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-617-imUUyTu2NZW-iDGrDv2VnA-1; Mon, 30 May 2022 14:39:16 -0400 X-MC-Unique: imUUyTu2NZW-iDGrDv2VnA-1 Received: by mail-qk1-f199.google.com with SMTP id c8-20020a05620a268800b0069c0f1b3206so9047134qkp.18 for ; Mon, 30 May 2022 11:39:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=oREYfii8268D+SJ71twg9YvDIowl5zBevuAhXKYzK4M=; b=6yDJQXoCaF5HYEk/fDhENNmnj0vHX2SNjdeCJb2vfCT5+wsUUR2YMybTvZsyIu8z8F o1AqDIrFsU0wXC1hbBMUENGtizktAhq7Qjf8vM5onBgFxgyN6rFqQF10P4nXiMqlrt2q xnYOgpWF2b+vnPszF5yoHqm3L60qLGIj2H8XUtkwyCbe9ImeaTs7OPpXwO98EPUU3XPc LpuIgAy7gBWozdhAGcsKhTy7de7vy2wunlSdYSsyGscnZCVNrJY6mIXCoA8LsxFCNGNF xExVSZvown2xXkdlZ6J1IZTeBFOYPQwB5hJDcOcHOIVXQpoM2ZW/AdQzpPv7yZTrqWPI Jsvg== X-Gm-Message-State: AOAM533WkifTAwcON/+WDx5ATBuUZCisgp2ucW6m4qvWSyzcw2GyO4tv j2LIZo7LSeFZqvEYjVF27bWBo5hqZKoZ4kEa6Sm3iPqBdskqwFfG+p9c0Wv0FUlePjzwAFZ064o ZSQj7mqnG8kDIUxwxPRFJQQiWSaw+C2rMRZTSXZwWULhhFuVTfroeh6dwzlY= X-Received: by 2002:a05:620a:1a14:b0:69e:9090:a7ba with SMTP id bk20-20020a05620a1a1400b0069e9090a7bamr38266509qkb.582.1653935955436; Mon, 30 May 2022 11:39:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCToRradBLOq6t7wYOeb4G8/QmYmXQANMYcAUrzfr+44PNLUgltY7kruU/ecnwjtQHIwmoTw== X-Received: by 2002:a05:620a:1a14:b0:69e:9090:a7ba with SMTP id bk20-20020a05620a1a1400b0069e9090a7bamr38266494qkb.582.1653935955102; Mon, 30 May 2022 11:39:15 -0700 (PDT) Received: from zlang-mailbox ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id y16-20020a376410000000b006a371ba1fa5sm8055751qkb.32.2022.05.30.11.39.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 11:39:14 -0700 (PDT) Date: Tue, 31 May 2022 02:39:08 +0800 From: Zorro Lang To: linux-mm@kvack.org Cc: linux-xfs@vger.kernel.org, linux-ext4@vger.kernel.org, nvdimm@lists.linux.dev Subject: Re: Potential regression on kernel 5.19-rc0: kernel BUG at mm/page_table_check.c:51! Message-ID: <20220530183908.vi7u37a6irji4gnf@zlang-mailbox> References: <20220530080616.6h77ppymilyvjqus@zlang-mailbox> MIME-Version: 1.0 In-Reply-To: <20220530080616.6h77ppymilyvjqus@zlang-mailbox> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=MvX3o9zw; dmarc=pass (policy=none) header.from=redhat.com; spf=none (imf11.hostedemail.com: domain of zlang@redhat.com has no SPF policy when checking 170.10.129.124) smtp.mailfrom=zlang@redhat.com X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 1B0704001F X-Stat-Signature: h653yocucownsqffx6utc9h4aaio1pf5 X-Rspam-User: X-HE-Tag: 1653935950-491887 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, May 30, 2022 at 04:06:16PM +0800, Zorro Lang wrote: > Hi mm folks: > > I reported a regression bug on latest upstream linux: > https://bugzilla.kernel.org/show_bug.cgi?id=216047 > > It's about xfs/ext4 + DAX, panic at mm/page_table_check.c:51! > > static struct page_table_check *get_page_table_check(struct page_ext *page_ext) > { > ==> BUG_ON(!page_ext); > return (void *)(page_ext) + page_table_check_ops.offset; > } > > It's 100% reproducible for me, by running fstests generic/623: > https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/tree/tests/generic/623 > on xfs or ext4 with DAX enabled. > > It doesn't look like a xfs or ext4 issue, so send to linux-mm to get more > reviewing. More details please refer to above bug link. I changed its Pruduct > to mm, but the Assignee isn't changed by default. It's not a regression *recently* at least, I still can reproduce this bug on linux v5.16. But I found it's related with someone kernel configuration (sorry I haven't figured out which one config is). I've upload two kernel config files, one[1] can build a kernel which reproduce this bug, the other[2] can't. Hope that helps. Thanks, Zorro [1] https://bugzilla.kernel.org/attachment.cgi?id=301076 [2] https://bugzilla.kernel.org/attachment.cgi?id=301077 > > Thanks, > Zorro