Date: Wed, 30 Jul 2025 20:14:18 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 288507] amd64 page fault while in kernel mode in vm_pageout_scan_active while RAM+SWAP 704 GiBytes was mostly used Message-ID: <bug-288507-227-s3zmkZpeMd@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-288507-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288507 --- Comment #3 from Mark Millard <marklmi26-fbsd@yahoo.com> --- Looks odd to me ( but was just a quick look at /usr/src/sys/vm/vm_page.c so I might have missed things or not identified code correctly ): There seem to be 4 instances of: atomic_load_ptr(&m->object) but no instances of use of atomic_store_ptr for it. Various accesses do not use atomic_load_ptr(&m->object), just direct use. Assignment seems to always be direct use. I gather atomic_load_ptr/atomic_store_ptr are for memory_order_relaxed, effectively here: const volatile and volatile being in use --but no synchronization. Is some of the m->object usage code just out of date for the form in which it is written --compared to other parts of the code? For reference: the /usr/src/sys/ code is that for PkgBase as of: # uname -apKU FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT main-n278320-3a33e39edd48 GENERIC-NODEBUG amd64 amd64 1500048 1500048 -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-288507-227-s3zmkZpeMd>
