haiku/src/system/kernel
Pawel Dziepak e083bca041 kernel: Allow threads to always finish their time slice
Until now, when the thread has been preempted by higher priority
thread it was then placed at the end of its priority FIFO and given
a new time slice. This patch changes it allowing the thread to
complete its time slice (when the higher priority threads are done),
unless there was very little time left in which case this time is added
to the next time slice.

Apart from making the algorithm more fair this change allows to identify
CPU bound threads more easily. (Earlier they could 'hide' by being
preempted by higher priority thread and consequently never using
their whole time slice).
2013-10-08 01:08:05 +02:00
..
arch x86[_64]: Fix style issues 2013-10-05 18:03:00 +02:00
cache Merge branch 'master' into x86_64 2012-11-18 14:02:07 +00:00
debug _user_debug_output(): Fix for long strings 2013-09-11 04:43:47 +02:00
device_manager device_manager: Move init_node_tree to after kdl cmd registration 2013-09-17 14:42:06 +02:00
disk_device_manager Merge branch 'master' into package-management 2013-05-05 15:03:26 +02:00
fs Merge remote-tracking branch 'haiku/master' into package-management 2013-09-13 01:02:28 +02:00
lib ARM: kernel: fix timer resolution and implement basic timekeeping. 2013-09-17 14:42:05 +02:00
locks 64-bit fixes for kernel with KDEBUG_LEVEL = 0 2012-12-18 14:56:16 +00:00
messaging Clean up the mess added in hrev43461 and solve it differently. 2011-12-10 23:20:18 +01:00
platform Whitespace cleanup 2013-09-17 13:51:38 +02:00
posix realtime_sem: fixed a compiler warning. 2013-09-07 11:34:21 +02:00
scheduler kernel: Allow threads to always finish their time slice 2013-10-08 01:08:05 +02:00
slab Add support for pthread_attr_get/setguardsize() 2012-12-28 18:02:58 +00:00
util kernel/util: Add bitmap implementation 2013-10-03 04:27:49 +02:00
vm dump_page_queue(): fix output 2013-09-18 00:42:43 +02:00
boot_item.cpp * Changed get_boot_item() API: it now also can retrieve the size of the boot 2008-03-30 11:01:41 +00:00
boot_splash.cpp Move the boot images conditional selection in one place, to remove 2010-10-11 12:54:21 +00:00
commpage.cpp vm: place commpage and team data near the top of user address space 2013-04-04 15:27:24 +02:00
condition_variable.cpp First round of 64-bit safety fixes in the kernel. 2012-06-13 17:42:46 +01:00
cpu.cpp Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
DPC.cpp Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
elf.cpp elf: restore correct region protection after relocation 2013-04-16 03:44:38 +02:00
guarded_heap.cpp Fix the page need calculation, it was possibly off by one. 2011-12-07 00:09:31 +01:00
heap.cpp First round of 64-bit safety fixes in the kernel. 2012-06-13 17:42:46 +01:00
image.cpp Rework DefaultNotificationService registration. 2013-04-22 18:42:21 -04:00
int.cpp kernel/int.cpp: typo fix 2013-07-09 23:53:26 +02:00
Jamfile Revert "Fix build problems of btrfs and packagefs for x86_64." 2013-09-02 12:03:05 +02:00
kernel_c++_structs.cpp Attempt at allowing to use C++ structures in C only code: We use the 2009-12-02 10:56:10 +00:00
kernel_daemon.cpp Replaced no longer necessary send_signal_etc() work-arounds for 2010-04-29 15:23:29 +00:00
kernel_versions Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
kernel.rdef patch by Artur Wyszynski (aljen): 2008-03-18 10:11:58 +00:00
linkhack.c
listeners.cpp Added WaitObjectListener destructor. Hopefully fixes the gcc 2 build. 2009-04-23 14:53:18 +00:00
low_resource_manager.cpp First round of 64-bit safety fixes in the kernel. 2012-06-13 17:42:46 +01:00
main.cpp Copied the x86 debug console functions to x86_64. 2012-06-26 11:42:28 +01:00
module.cpp Merge branch 'master' into package-management 2013-05-05 15:03:26 +02:00
Notifications.cpp Rework DefaultNotificationService registration. 2013-04-22 18:42:21 -04:00
port.cpp Rework DefaultNotificationService registration. 2013-04-22 18:42:21 -04:00
real_time_clock.cpp Changed {,u}int64 to be long rather than long long on x86_64. 2012-06-28 12:36:45 +01:00
sem.cpp Add support for pthread_attr_get/setguardsize() 2012-12-28 18:02:58 +00:00
shutdown.cpp Introduce a gSystemShutdown flag to be able to check if system is shutting down. ACPI Embedded Controller now uses polling when it is set to true. 2010-09-08 19:19:49 +00:00
signal.cpp commpage: randomize position of commpage 2013-04-04 15:27:22 +02:00
smp.cpp Fixed a mistake in 11d3892, changed a parameter type to addr_t that shouldn't have been changed. 2012-06-15 22:31:24 +01:00
syscalls.cpp Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
system_info.cpp First round of 64-bit safety fixes in the kernel. 2012-06-13 17:42:46 +01:00
team.cpp Enforce team and thread limits 2013-07-02 01:57:30 +02:00
TeamThreadTables.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
thread.cpp Enforce team and thread limits 2013-07-02 01:57:30 +02:00
timer.cpp As suggested by Ingo, revert r42648 and apply patch from Alex Smith provided in #7872. Thanks! 2011-08-20 20:09:32 +00:00
UserEvent.cpp Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
usergroup.cpp Fix #8596: common_getgroups copies too little data 2012-05-23 12:56:10 -04:00
UserTimer.cpp Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
wait_for_objects.cpp _user_wait_for_objects(): Don't copy the infos back to userland when an error 2010-03-25 15:57:38 +00:00