Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 1999 23:13:37 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org
Subject:   tail /proc/map/*
Message-ID:  <199902281213.XAA22562@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
tail(1) assumes that mmap(2) works on works on regular files.  mmap(2) on
the irregular regular files /proc/*/map returns success but doesn't work.
The first access to the mmapped memory usually causes the kernel to
printf messages like the following:

vnode_pager: *** WARNING *** stale FS getpages
No strategy for buffer at 0xf12828e8
: 0xf3877800: type VREG, usecount 4, writecount 0, refcount 0, flags (VOBJBUF)
	tag VT_PROCFS, type 11, pid 591, mode 124, flags 0
: 0xf3877800: type VREG, usecount 4, writecount 0, refcount 0, flags (VOBJBUF)
	tag VT_PROCFS, type 11, pid 591, mode 124, flags 0
vnode_pager_getpages: I/O read error
vm_fault: pager read error, pid 2023 (tail)
pid 2023 (tail), uid 15: exited on signal 11

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902281213.XAA22562>