kstackusage() patch request for comments

2008-01-27 Thread Alexander Motin
Hi. I have made a patch http://www.mavhome.dp.ua/kstackusage.patch that implements machine dependent function returning current kernel thread stack usage statistics and uses it in netgraph subsystem for receiving maximum benefit from direct function calls and minimum queueing while keeping

Re: kstackusage() patch request for comments

2008-01-27 Thread Dag-Erling Smørgrav
Alexander Motin [EMAIL PROTECTED] writes: The main question I have is about source files and headers I should use for this specific purposes. Is it correct way to define function in machine independent header, but implement it in machdep.c? Or I should define it in machine dependent headers?