On Apr 13, 2008, at 10:15 PM, Simon Burge wrote:
The problem with this is that a number of sysctl's aren't just "read"from the kernel - the kernel does some amount of work to build the replyfirst then copies the results out to userland. Common examples are things that follow linked lists in the kernel, but then present a nicesimple array (often nice 64-bit alignment friendly structures instead of"raw" structures used in the original data) to userland.
...or, like my current pet project, collating per-cpu copies of network protocol stats.
Cheers, Simon.
-- thorpej