Subject: CVS commit: src
To: None <>
From: Andrew Brown <>
List: source-changes
Date: 02/19/2004 03:56:30
Module Name:	src
Committed By:	atatat
Date:		Thu Feb 19 03:56:30 UTC 2004

Modified Files:
	src/sys/kern: vfs_bio.c
	src/sys/sys: sysctl.h
	src/usr.bin/systat: bufcache.c

Log Message:
Add PTRTOUINT64() and UINT64TOPTR() macros to sys/sysctl.h for use by
kern.proc, kern.proc2, kern.lwp, and kern.buf.

Define more MIB for kern.buf so that specific buffers can be selected
(only all/all is supported right now), and use a 32/64 bit agnostic
structure for communcating buffer information to userland.

Convert systat to the new kern.buf method.

Clean up the vm.buf* handling a little.  There's no actual need to
record the dynamically assigned OIDs, since sysctl_data can tell us
what we're looking at.

Oh, and fix a typo in a comment.

To generate a diff of this commit:
cvs rdiff -r1.116 -r1.117 src/sys/kern/vfs_bio.c
cvs rdiff -r1.108 -r1.109 src/sys/sys/sysctl.h
cvs rdiff -r1.15 -r1.16 src/usr.bin/systat/bufcache.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.