[PATCH] possible fix for the runtime going backwards warnings



The latest round of calcru() changes accidentally changed calccru() to use the
wrong rusage_ext structure (p->p_rux vs p->p_crux) when calculating usage
times for children. The patch fixes calccru() to use p->p_crux again. It
also moves the ruadd() in exit1() even later in the function so that it takes
the dying thread's last time slice into account. Please test it and let me
know if it makes the messages go away (or if it makes things worse!) Thanks!

http://www.FreeBSD.org/~jhb/patches/calccru.patch

--
John Baldwin <jhb@xxxxxxxxxxx> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"