Re: 6.10/bisected/regression - commit 8430557fc584 cause warning at mm/page_table_check.c:198 __page_table_check_ptes_set+0x306

Mikhail Gavrilov
2024-05-21T23:26:18Z

[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]

On Wed, May 22, 2024 at 3:36 AM Peter Xu <peterx@redhat.com> wrote:
>
> On Wed, May 22, 2024 at 03:21:04AM +0500, Mikhail Gavrilov wrote:
> > On Wed, May 22, 2024 at 2:37 AM Peter Xu <peterx@redhat.com> wrote:
> > > Hmm I still cannot reproduce. Weird.
> > >
> > > Would it be possible for you to identify which line in debug_vm_pgtable.c
> > > triggered that issue?
> > >
> > > I think it should be some set_pte_at() but I'm not sure, as there aren't a
> > > lot and all of them look benign so far. It could be that I missed
> > > something important.
> >
> > I hope it's helps:
>
> Thanks for offering this, it's just that it doesn't look coherent with what
> was reported for some reason.
>

There can be no mistake here.
I just copy the console output without rebooting.

> sudo dmesg | grep "debug_vm_pgtable"
[ 8.043229] debug_vm_pgtable: [debug_vm_pgtable ]:
Validating architecture page table helpers
[ 8.103359] debug_vm_pgtable+0x1c04/0x3360
[ 8.103607] ? __pfx_debug_vm_pgtable+0x10/0x10
[ 8.104312] ? __pfx_debug_vm_pgtable+0x10/0x10

> sh /lib/modules/6.9.0-test-eb6a9339efeb+/build/scripts/faddr2line /lib/modules/6.9.0-test-eb6a9339efeb+/build/vmlinux debug_vm_pgtable+0x1c04
debug_vm_pgtable+0x1c04/0x3360:
native_ptep_get_and_clear at arch/x86/include/asm/pgtable_64.h:94
(inlined by) ptep_get_and_clear at arch/x86/include/asm/pgtable.h:1278
(inlined by) ptep_clear at include/linux/pgtable.h:509
(inlined by) pte_clear_tests at mm/debug_vm_pgtable.c:643
(inlined by) debug_vm_pgtable at mm/debug_vm_pgtable.c:1392

--
Best Regards,
Mike Gavrilov.

[-- Attachment #2: full-kernel-log.zip --]
[-- Type: application/zip, Size: 52434 bytes --]