Subject: Re: scheduler_wait_hook
To: None <firstname.lastname@example.org>
From: YAMAMOTO Takashi <email@example.com>
Date: 10/07/2005 09:51:31
> The case where I think it does not make sense is if a process forks
> a few times, does some work and consumes a lot of CPU resources.
> The existing method will intentionally charge the sum of that usage
> to the parent, causing a fairly strong feedback to slow the parent
> (and newly spawned children) down. I'm not sure that this is
> sufficient justification for keeping things the way they are (it
> seems a less common case and I don't know if this feedback is even
> really useful there).
you need to save "p_estcpu on fork" value to deal with the case.
i'm not sure if it's worth to do.