]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
scripts/gdb: implement x86_page_ops in mm.py
authorSeongjun Hong <hsj0512@snu.ac.kr>
Mon, 2 Feb 2026 03:42:41 +0000 (12:42 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 12 Feb 2026 23:45:57 +0000 (15:45 -0800)
commit55f8b4518d14b7436f70defe27faba4eca0cd4e1
treea7ced4832e78e05451ccde758bc6cc18037bfb02
parent5ed4b6b37c647d168ae31035b3f61b705997e043
scripts/gdb: implement x86_page_ops in mm.py

Implement all member functions of x86_page_ops strictly following the
logic of aarch64_page_ops.

This includes full support for SPARSEMEM and standard page translation
functions.

This fixes compatibility with 'lx-' commands on x86_64, preventing
AttributeErrors when using lx-pfn_to_page and others.

Link: https://lkml.kernel.org/r/20260202034241.649268-1-hsj0512@snu.ac.kr
Signed-off-by: Seongjun Hong <hsj0512@snu.ac.kr>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/gdb/linux/constants.py.in
scripts/gdb/linux/mm.py