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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8AD60C433FE for ; Mon, 30 May 2022 18:39:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242295AbiE3SjU (ORCPT ); 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-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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220530080616.6h77ppymilyvjqus@zlang-mailbox> 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