Page MenuHomeFreeBSD

vm: use __func__ for the correct function name
ClosedPublic

Authored by bz on Aug 22 2021, 5:25 PM.
Tags
None
Referenced Files
F84742505: D31635.diff
Mon, May 27, 10:00 PM
Unknown Object (File)
Thu, May 23, 10:23 PM
Unknown Object (File)
Apr 26 2024, 5:22 AM
Unknown Object (File)
Apr 2 2024, 3:35 AM
Unknown Object (File)
Feb 11 2024, 12:05 PM
Unknown Object (File)
Jan 17 2024, 3:41 PM
Unknown Object (File)
Dec 23 2023, 7:26 AM
Unknown Object (File)
Dec 22 2023, 9:51 PM
Subscribers

Details

Summary

In fee2a2fa39834d8d5eaa981298fce9d2ed31546d the KASSERTs in
vm_page_unwire_noq() changed from "vm_page_unwire" to "vm_page_unref".
While the former no longer was part of that function the latter does
not exist as a function and is highly confusing when hit when using
tools to lookup the functions and not doing a full-text search.
Use %s func for printing the function name, as that will do the
right thing as code moves around and functions get renamed.

Hit: while debugging a wired page leak with linuxkpi/iwlwifi
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41161
Build 38050: arc lint + arc unit