[PATCH] possible fix for the runtime going backwards warnings
- From: John Baldwin <jhb@xxxxxxxxxxx>
- Date: Tue, 21 Feb 2006 10:47:04 -0500
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"
- Follow-Ups:
- Re: [PATCH] possible fix for the runtime going backwards warnings
- From: Kris Kennaway
- Re: [PATCH] possible fix for the runtime going backwards warnings
- From: Stefan Ehmann
- Re: [PATCH] possible fix for the runtime going backwards warnings
- Prev by Date: Re: GELI boot on root partition
- Next by Date: Re: [PATCH] possible fix for the runtime going backwards warnings
- Previous by thread: partition for GELI disk
- Next by thread: Re: [PATCH] possible fix for the runtime going backwards warnings
- Index(es):