haiku/headers
Michael Lotz da30fdf96a kernel: Fix overflow in load tracking for very large deltas.
The scheduler uses the load tracking logic to compute the load of
threads to be enqueued into the run queue. The time delta between the
last enqueue and the next enqueue may grow very large for threads
that mostly wait on conditions. In such cases the int "n" period count
variable would become too small and wrap around, leading to an
assertion failure.

For this to happen, the thread in question would have to have slept for
at least ~25 days and then wake up. Threads often affected would be ones
waiting for some other process to end, for example shell threads waiting
for a long running process to exit.

Fixes #13558.
2018-01-05 22:48:56 +01:00
..
build libroot_build: Full passthrough to system attributes. 2017-12-30 16:35:51 -05:00
compatibility libs/bsd: add explicit_bzero(3) 2017-12-16 12:54:58 -05:00
config ARM: Be aware of ARMEL and ARMEL 2014-01-01 23:41:02 -07:00
cpp build fix. 2015-11-12 22:24:16 +01:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs Restore the "GPL licensing not permitted" in GLUT license headers. 2017-12-20 19:35:55 -05:00
os Migrate the BMailComponent docs to the Haiku Book. 2017-12-25 19:43:51 -05:00
posix syslog.h: Add LOG_NFACILITIES, LOG_FACMASK, LOG_FAC. 2017-12-26 17:09:26 -05:00
private kernel: Fix overflow in load tracking for very large deltas. 2018-01-05 22:48:56 +01:00
tools Fix #12799: Enable elf symbol patching for Haiku 2016-10-30 10:42:24 +01:00