search for: kern_resourc

Displaying 2 results from an estimated 2 matches for "kern_resourc".

Did you mean: kern_resource
2006 Mar 02
1
Failing to understand getrusage()
I'm failing to understand how getrusage() works, which is a bit perplexing, because it doesn't seem like it would be terribly complicated. I've attached the code. My aim is to verify that I can use getrusage() to do (admittedly crude) instrumentation of which functions in my program are allocating lots of memory[1]. So I figure I can call getrusage() at various points and look at
2003 Jul 30
1
kernel panic
...2000: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=322837+0+archive/2000/freebsd-s table/20000625.freebsd-stable This was apparently fixed by a patch discussed in this thread. http://www.geocrawler.com/archives/3/171/2000/11/0/4718890/ The patch was applied to version 1.66 and 1.67 of /sys/kern/kern_resource.c I browsed through the CVS for these changes, but found no evidence of them ever being merged to RELENG_4. This is a real memory corruption in the kernel. If these changes were never merged, does anyone know wny? Can anyone suggest a course of action to resolve this?