Exporting the relevant pcpustat is trivial, so let's do that. Use it
for netstat operation to avoid having to dig around in mem(4) for live
kernel statistics. Based on callers of kresolve_list(), this is the
last live path using mem(4) that could be functional today.
Tested both with netstat -rs and netstat -rs -M.
Can you make this a static inline function, instead of using a macro?
static inline loff_t
default_llseek(....)
This avoids the macro, which may match more than it should.