[Bug 273956] KERN_PROC_VMMAP does not read all mapped files
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 273956] KERN_PROC_VMMAP does not read all mapped files"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Sep 2023 00:57:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273956 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #12 from Konstantin Belousov <kib@FreeBSD.org> --- (In reply to Ed Maste from comment #10) So what is the problem? Difference between vnode/swap is due to how kernel handles partial pages vs. ld-elf.so.1. Kernel allocates separate anon object to map such page, and copies data into it from the segment, see imgact_elf.c:map_partial(). ld-elf.so.1 just mmaps for CoW. -- You are receiving this mail because: You are the assignee for the bug.