tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: zero runtime when negative



On 6/24/2012 10:23 AM, Adam Hoka wrote:
> Hi!
> 
> Can you guys please check if the following makes sense:
> 
> http://www.netbsd.org/~ahoka/patches/timebackwards.diff       
> 
> The use case is the following:
> 
> After starting NetBSD in vmware I see a lot of RLIMIT_CPU reached
> messages overflowing my dmesg. At some time during the boot one or more
> processes calculate a negative runtime, but as nothing resets them to
> zero they keep reaching the cpu limit and the printouts are spamming the
> console. Also the printout is bogus, because they are not really killed
> in this case.
> 
> Any comments?
> 
> 
> Cheers,
> Adam

As someone pointed out, there was some mistake in the original patch,
heres the fixed version:

http://www.netbsd.org/~ahoka/patches/timebackwards2.diff


Home | Main Index | Thread Index | Old Index