Source-Changes archive

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

Re: CVS commit: src/sys/sys

On Thu, Jan 29, 2009 at 09:05:50PM +0000, Matthias Drochner wrote:

> Log Message:
> Revert change of rlim_t to an unsigned quad_t which crept in in the
> time_t merge. This has bad effects on comparisions in the kernel
> leading to processes randomly killed for RLIMIT_CPU violation.
> (There are situations where the CPU time used can drop below 0, if
> the time is changed by ntp. This is certainly not good but this is
> a minor issue we obviously could live with and which is not related
> to the time_t size change.)

This is the symptom but the problem is elsewhere. CPU usage is calculated
using the monotonic clock and that should NOT go backwards.


Home | Main Index | Thread Index | Old Index