DragonFlyBSD Kernel Audit
DF-0924 / run.patched.log
← back to finding ↓ download raw
[time] resid=4096        pread=1421    kernel-side elapsed=0.000062 s
[time] resid=0x7ffffff0 pread=1615    kernel-side elapsed=0.001451 s

The huge-resid call returned the SAME few KB of map output,
but took orders of magnitude longer: the kernel kmalloc'd and
zero-filled ~2047 MiB up front (procfs_map.c:77 -> subr_sbuf.c:197)
before discarding almost all of it. Caller controls the kmalloc size.