From: Jayaraj Rajappan <jayarajpr@gmail.com>
To: linux-mm@kvack.org
Cc: linux-kernel@vger.kernel.org
Subject: Calls to do_swap_page() from handle_pte_fault() on a system where swap is not configured
Date: Wed, 3 Dec 2025 13:11:24 +0530 [thread overview]
Message-ID: <CAEJW1wECyPh-wbgnnoOGY460ido=U2A3rPhF1FQAv7txed1-Rw@mail.gmail.com> (raw)
Hi,
On a system where swap is not configured, profiling using Linux "perf"
tool shows that do_swap_page() gets called from handle_pte_fault().
Kernel version is 5.14.0. HugePages are disabled on the system. Trying
to understand what could cause do_swap_page() to be called when there
is no swap configured on the system.
// kernel version
# uname -a
Linux houdini 5.14.0-570.17.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Fri
May 23 22:47:01 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
// no swap device configured
# swapon --show
#
// dynamic tracepoint event configured on do_swap_page()
# perf list | grep do_swap_page
probe:do_swap_page [Tracepoint event]
// couple of samples profiled via "perf" tool
hbatch-bin 7301 [012] 7041.023668: probe:do_swap_page: (ffffffff89dae350)
ffffffff89dae351 do_swap_page+0x1 ([kernel.kallsyms])
ffffffff89db34ae __handle_mm_fault+0x2fe ([kernel.kallsyms])
ffffffff89db38f9 handle_mm_fault+0xe9 ([kernel.kallsyms])
ffffffff89a90ab4 do_user_addr_fault+0x154 ([kernel.kallsyms])
ffffffff8a723d72 exc_page_fault+0x62 ([kernel.kallsyms])
ffffffff8a800bb2 asm_exc_page_fault+0x22 ([kernel.kallsyms])
7f6cca147faf UT_SparseMatrixELLT<float, false,
false>::multVecAndDotInternalPartial(UT_VectorT<float> const&,
UT_VectorT<float>&, double*, UT_JobInf>
2715da7 [unknown] ([unknown])
hbatch-bin 7247 [000] 7185.407376: probe:do_swap_page: (ffffffff89dae350)
ffffffff89dae351 do_swap_page+0x1 ([kernel.kallsyms])
ffffffff89db34ae __handle_mm_fault+0x2fe ([kernel.kallsyms])
ffffffff89db38f9 handle_mm_fault+0xe9 ([kernel.kallsyms])
ffffffff89a90ab4 do_user_addr_fault+0x154 ([kernel.kallsyms])
ffffffff8a723d72 exc_page_fault+0x62 ([kernel.kallsyms])
ffffffff8a800bb2 asm_exc_page_fault+0x22 ([kernel.kallsyms])
7f6cb11b5c80 UT_PageArray<void, -1l, true, false, 10l,
long>::clearAndDestroy()+0x0
(/opt/hfs21.0.440/dsolib/libHoudiniGEO.so)
7f6c8a357fc0 [unknown] ([unknown])
7f6cb1140a30 GA_ATINumeric::~GA_ATINumeric()+0x0
(/opt/hfs21.0.440/dsolib/libHoudiniGEO.so)
8310c08348fd8948 [unknown] ([unknown])
Regards,
Jayaraj
next reply other threads:[~2025-12-03 7:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-03 7:41 Jayaraj Rajappan [this message]
2025-12-03 8:18 ` Gregory Price
2025-12-03 22:12 ` David Hildenbrand (Red Hat)
2025-12-03 22:28 ` Gregory Price
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEJW1wECyPh-wbgnnoOGY460ido=U2A3rPhF1FQAv7txed1-Rw@mail.gmail.com' \
--to=jayarajpr@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox