> I don't understand why any of it would be in the kernel, just extract
the stats (if some don't exist, adding those to the kernel probably makes sense) and do everything else in user space.
I understand this approach.Many features are implemented like you described - minimal kernel code and implemented in user space.
This one could be also, but it is not very complicated code. I need to resolve more important things just now. Peter