haiku/src/system/kernel
Michael Lotz f4af1fba51 Use the empty_index field as the allocation_id for large allocations and just
use the index of the first page of the allocation as an id. This removes the
need for separate id generation. This also fixes the possible problem of
multiple large allocations getting the same allocation_id (due to the limited
range of possible ids), which in the worst case (i.e. for adjacent allocations)
could cause pages to be freed that were still in use.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-15 17:35:34 +00:00
..
arch With syscall kernel tracing enabled, the syscall return value (%eax, 2008-03-11 21:29:44 +00:00
cache cached_block::Compare() was ignoring the upper 32 bit of the block 2008-03-14 22:03:26 +00:00
debug Call debugger_puts hooks on modules when serial debug output is enabled (modules themselves must reject loading if they don't find mymodule_debug_output in kernel settings). 2008-02-21 23:35:44 +00:00
device_manager * Accept case insensitive boolean values. 2008-03-09 15:26:29 +00:00
disk_device_manager * When removing a media, only the device was unmounted if needed, not its child partitions. 2008-02-06 11:46:44 +00:00
fs We didn't copy the close-on-exec flags on fork(), thus always leaving 2008-03-09 18:00:17 +00:00
lib * Added real, effective and saved set- user and group IDs to the team 2008-03-11 17:12:02 +00:00
messaging * Followed Ingo's suggestion and send the message manually in the runtime loader; 2007-07-29 21:36:49 +00:00
platform Dummy platforms for m68K. 2007-10-22 00:03:51 +00:00
slab * Also replaced the cpu store's lock with a recursive lock in order 2008-02-02 14:20:33 +00:00
util * Added a new function hash_insert_grow() that grows the hash table when needed. 2008-01-21 19:57:40 +00:00
vm Naive implementation of transfer_area(). It follows the suggested sematics 2008-03-09 12:56:59 +00:00
boot_item.cpp added missing nothrow parameter 2006-09-16 23:25:56 +00:00
commpage.cpp Merged branch haiku/branches/developer/bonefish/optimization revision 2008-01-11 00:36:44 +00:00
condition_variable.cpp We have to remove the thread's condition variable entries when 2008-02-22 14:51:11 +00:00
cpu.c yet another fix for #1018, which has at this point blossomed into a reorg of how AP cpus are initialized. 2007-02-19 00:11:24 +00:00
elf.cpp * unload_elf_image() never unloaded any image because the ref_count 2008-03-04 12:36:53 +00:00
heap.cpp Use the empty_index field as the allocation_id for large allocations and just 2008-03-15 17:35:34 +00:00
image.c Print ids in decimal. 2008-01-28 23:19:54 +00:00
int.c * This fixes the broken count of unhandled interrupts which caused some 2008-03-04 21:49:40 +00:00
Jamfile Applied patch by Vasilis: 2008-03-15 16:59:30 +00:00
kernel_daemon.c Some cleanup (made static variables static). 2005-06-13 12:59:11 +00:00
kernel.rdef Removed the R5 icon from the kernel resources - it can only be compiled for Haiku. 2007-01-05 20:16:48 +00:00
linkhack.c Renamed system/core to system/kernel. 2005-04-13 13:22:10 +00:00
lock.c Benaphores are nice and fast, but they aren't useful for debugging at 2008-02-01 23:05:26 +00:00
main.c added traces 2008-03-05 21:05:13 +00:00
module.cpp * The module code now uses find_directory() and no hard-coded paths anymore. 2008-03-09 14:21:04 +00:00
Notifications.cpp bonefish+axeld: 2007-08-01 14:48:44 +00:00
port.cpp axeld + bonefish: 2008-02-17 15:48:30 +00:00
real_time_clock.c Merged branch haiku/branches/developer/bonefish/optimization revision 2008-01-11 00:36:44 +00:00
scheduler.cpp Use decimal for thread ids. 2008-01-28 22:58:02 +00:00
sem.cpp switch_sem_etc() doesn't check the return value of add_timer(), hence we 2008-02-23 16:01:59 +00:00
shutdown.c fixed the way accept() works in regards to the cookie pointer. It is no longer visible to userspace, we pass the fd instead. Also renamed kernel's shutdown() to system_shutdown as it collides with Posix's shutdown(). 2007-05-23 19:56:40 +00:00
signal.cpp Add a tracing entry when executing a signal handler. 2008-03-09 17:45:52 +00:00
smp.c Introduce a B_NO_LOCK_VECTOR flag to be used with install_io_interrupt_handler(). 2008-02-03 16:16:17 +00:00
syscalls.cpp Added new macro SYSCALL_TRACING_IGNORE_KTRACE_OUTPUT to disable tracing 2008-03-14 21:58:17 +00:00
system_info.cpp Applied patch by Vasilis: 2008-03-15 16:59:30 +00:00
team.cpp * Added real, effective and saved set- user and group IDs to the team 2008-03-11 17:12:02 +00:00
thread.cpp Process groups are now reference-counted. Processes in a group as well 2008-03-09 17:56:27 +00:00
timer.c added more debug output 2007-12-25 14:52:49 +00:00
usergroup.cpp * Added real, effective and saved set- user and group IDs to the team 2008-03-11 17:12:02 +00:00
wait_for_objects.cpp common_select/poll(): Consider all negative timeout values as infinite 2008-02-23 15:59:30 +00:00