Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4781123ioo; Tue, 31 May 2022 11:24:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwONeX6hT1W+98mLbuVyoFIadY7KGrEFB7rq0V5jaMGrMixHhPoF7VhhxX1LQL4GGU2nhOX X-Received: by 2002:a05:6402:ea1:b0:42b:2c59:503 with SMTP id h33-20020a0564020ea100b0042b2c590503mr58023077eda.9.1654021455925; Tue, 31 May 2022 11:24:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654021455; cv=none; d=google.com; s=arc-20160816; b=kAXDPPKqXx6qkKFSs3vhVgrwHmXrOyDkXtqlf2/53xGKCE+8YipRv/X/yxEVaiK9BA y8/25cA74jqA8hyChKxmKy/kZzd1W7N7J1cvSXLAqLUX9XkTQsaCOnLuVCuBKQHafvi5 a21wUmlFOH8UR6tMz96Ys8Rsz1XxaVINAf8K+X1A0Vr4T1WTtd6/v4tJua59Fvl4q6gC hgFGXbhYv5fUQ/NEuehPNyYJIoE8y53HCXpMn+zNTuwY59t+O3ZCIFlZFl+MoMOQboNW 9TxeIqWohzWD4h0JWnHngVUuh7FWgrmtvB9qp96+kchC030sAr+XOYvrct6LXHqRQHUh jJkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oREYfii8268D+SJ71twg9YvDIowl5zBevuAhXKYzK4M=; b=vdn6viD1b/a8c/WHDcvAqWIP3B/1iUVky5NTULUw84xfnmtKOawGAMR5hI1247Bb7b zckKXZqc6NqkSJwyKOvW/3h6txhZM4KK3LCHr/OTR/6SQoEkbiEWjx1bhPErZOgKyR5m qqkBv0ig+Rr6SFuJ7qIs1gX/4nDTAHlohvXf3WDPpLqi9g2mby7kfDCG4JambciDHUFT ccpTgSaDOcnvmf1lrLVqAV3UpTCzs1PUic6wHhmYo6c02Ykb40CiG+8jhi081zq8O8cz dM/wSFAE22GSkxnk4kIJPBiSB5PSXp5iLa/LS6j2CnV7jBCXEE+3x2xpvEpc6GnF3Gmp jdHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eTlYWu29; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b17-20020a170906151100b006df76385bb2si14571151ejd.82.2022.05.31.11.23.50; Tue, 31 May 2022 11:24:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eTlYWu29; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238899AbiE3SjU (ORCPT + 99 others); Mon, 30 May 2022 14:39:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242856AbiE3SjT (ORCPT ); Mon, 30 May 2022 14:39:19 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E76109399D for ; Mon, 30 May 2022 11:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653935957; 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=eTlYWu29EdWuT4T0WMdohZEVyOkM46KaV7azjs+A8HwuRt/WC7p3vIdb+5jMOYO0eNX0xh KlUEDh0cjb5FRme/1ETtaOvDFo8+L/rbcIDet91PvcZ/xzRyTbPM9EvYpcqYaSNeNZbB3N 6TjXGWmtR2QT32x5BuGzq5uogT7df7s= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-171-jXdEJ26iPGCC_T1KBlqBrQ-1; Mon, 30 May 2022 14:39:16 -0400 X-MC-Unique: jXdEJ26iPGCC_T1KBlqBrQ-1 Received: by mail-qt1-f197.google.com with SMTP id v1-20020a05622a014100b002f93e6b1e8cso10580534qtw.9 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=EpGAfqMVLPIKTYwNb/XP8IyCblhiJ+TYqmyfw9XZEHvv3UDsm9XPbe4TOjRBcyDgGn hkyQUci7bTso+gAswqyXiMHw8PQugf+AXEWqk4pNG4qn4mpeWkGCFEQKyyQ5th8ccbag RRE4/2ZeFRjjP41lAvS0tRVUzPlcNsJgXdF1EwrdQ0MTqHbYkT4gu+1Po8CEhbJ0ZSdN bTYcQhAqfxl+NhigzmNB3v0OBAvbHmBdFE2gTUBvhPuEF9VBQBGdy8p1mjuOkxSSh6LD BmmX7lq9TyoQthJqVBpQIYYlTNggeDd9NiZQacVTs/0H4Wq1ui2i2vx9hmHvfaW3sdWH MOPg== X-Gm-Message-State: AOAM531Q9z2Ml3ayF02QmzDjhQNOgYdBQGhKyi0u7+FLjOInEgeXS7VT Ix9Fn+C27jG293SDkqXv/SSQi6i5H1JfadhWJCEXR6iX8ZU/aQteOqanVY8+dU9u0kHISZX69gn lE7ZWokEZScepGNmoaiMMQw== X-Received: by 2002:a05:620a:1a14:b0:69e:9090:a7ba with SMTP id bk20-20020a05620a1a1400b0069e9090a7bamr38266503qkb.582.1653935955374; Mon, 30 May 2022 11:39:15 -0700 (PDT) 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220530080616.6h77ppymilyvjqus@zlang-mailbox> X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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