Rev |
Age |
Author |
Path |
Log message |
Diff |
1150 |
6711 d 21 h |
jermar |
/kernel/trunk/generic/ |
Rename btree_node_left_sibling() to btree_leaf_node_left_neighbour()
and btree_node_right_sibling() to btree_leaf_node_right_neighbour()
as the left and right neighbours of a node needn't be its siblings. |
|
1148 |
6712 d 7 h |
jermar |
/kernel/trunk/generic/src/ |
s/B+-tree/B+tree/ |
|
1147 |
6712 d 8 h |
jermar |
/kernel/trunk/generic/ |
Deploy B+tree in address space area management.
Change as_remap() to check for conflicts with other address space areas only when the area in question grows. |
|
1144 |
6714 d 11 h |
jermar |
/kernel/trunk/ |
Completed B+-tree support.
Enable btree_remove().
Reorder some static functions and group them together.
Fix order of nodes in the leaf_head list. |
|
1142 |
6714 d 19 h |
jermar |
/kernel/trunk/ |
Update B+-tree code.
The code is there, btree_remove() has not been tested yet.
(Fixes, if any, are to come later today.) |
|
1141 |
6715 d 16 h |
palkovsky |
/kernel/trunk/generic/src/ipc/ |
Completed ipc_cleanup, it should be somehow integrated into
cleanup of task. The function can sleep. |
|
1140 |
6716 d 11 h |
jermar |
/kernel/trunk/generic/ |
Change B+-tree from 2-3-4 tree to 2-3-4-5 tree by adding space for the fourth key.
This should make key removal easier. |
|
1138 |
6719 d 13 h |
jermar |
/kernel/trunk/ |
CPU stacks must have two frames on ia64.
Make sure both thread stack frames are mapped in before_thread_runs_arch().
Take STACK_FRAMES into account during kernel memory layout initialization in main_bsp(). |
|
1136 |
6720 d 11 h |
jermar |
/kernel/trunk/generic/src/adt/ |
Try to avoid splitting full B+-tree nodes by trying left or right rotation first.
(This improved memory consumption of this algorithm by some 40% - meassured on 101-item set). |
|
1134 |
6721 d 14 h |
jermar |
/kernel/trunk/generic/src/adt/ |
Change B+-tree to:
- store lesser keys in a key's left subtree
- propagate the bigger of medians (if there are two medians) when splitting a node |
|
1121 |
6723 d 8 h |
jermar |
/kernel/trunk/ |
Small textual changes. |
|
1118 |
6723 d 9 h |
jermar |
/kernel/trunk/generic/src/syscall/ |
Change syscall table. |
|
1117 |
6723 d 9 h |
jermar |
/kernel/trunk/generic/ |
Improved futexes. (kernel part) |
|
1115 |
6723 d 18 h |
jermar |
/kernel/trunk/generic/src/proc/ |
Fix kcpulb() to change state of the migrated thread to Entering so that thread_ready() won't panic() on violated assertion.
Make print out of threads and tasks more dense again. |
|
1112 |
6723 d 19 h |
palkovsky |
/kernel/trunk/ |
Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction). |
|
1109 |
6724 d 7 h |
jermar |
/kernel/trunk/ |
Basic futex. Prototype implementation. |
|
1108 |
6724 d 7 h |
jermar |
/kernel/trunk/ |
Small PTE_* macros and SET_PTL0_ADDRESS macro changes. |
|
1104 |
6724 d 12 h |
jermar |
/kernel/trunk/ |
Define atomic_t only once in atomic.h
Change the encapsulated counter type to long so that it supports negative values as well. |
|
1103 |
6724 d 17 h |
jermar |
/kernel/trunk/generic/src/ |
Remove extra before_thread_runs() calls. |
|
1101 |
6726 d 9 h |
jermar |
/kernel/trunk/ |
B+-tree implementation.
Currently supports only inserting and searching. |
|
1100 |
6726 d 9 h |
palkovsky |
/kernel/trunk/ |
Cleanup of spinlocks, now compiles both ia32 and amd64 with
and without DEBUG_SPINLOCKS. Made spinlocks inline.
Moved syscall_handler to generic (it was identical for ia32,amd64 & mips32).
Made slightly faster syscall for ia32.
Made better interrupt routines for ia32.
Allow not saving non-scratch registers during interrupt on ia32,amd64,mips32.
Aligned interrupt handlers on ia32,amd64, this should prevent problems
with different instruction lengths. |
|
1093 |
6727 d 8 h |
palkovsky |
/kernel/trunk/generic/src/mm/ |
Fix bug with refcounts in frame allocator after zone_merge. (it caused some
frames not to be coalesced). |
|
1090 |
6727 d 10 h |
palkovsky |
/kernel/trunk/generic/ |
Reduced unnecessary IPC system calls.
Allow everything to be sync & async, everything is handled using messages. |
|
1088 |
6727 d 17 h |
palkovsky |
/kernel/trunk/generic/ |
More IPC stuff, added correct closing of connections from both sides. |
|
1086 |
6728 d 7 h |
palkovsky |
/kernel/trunk/generic/ |
Untested better IPC functions.
* There is some bug in MIPS, unpredicatbly sometimes the thread gets mapped
different frame for stack. |
|
1084 |
6729 d 5 h |
palkovsky |
/kernel/trunk/ |
Better IPC implementation with regard to locking and final cleanup. |
|
1083 |
6729 d 7 h |
palkovsky |
/kernel/trunk/generic/src/ |
Fixed incorrect locking in ipc. |
|
1078 |
6729 d 12 h |
jermar |
/kernel/trunk/ |
Improved uspace threads.
ia64 needs fixing. |
|
1076 |
6729 d 16 h |
jermar |
/kernel/trunk/generic/src/mm/ |
Unlock address space area when returning error. |
|
1072 |
6729 d 18 h |
palkovsky |
/kernel/trunk/ |
Added debugger to AMD64.
Added automatic debugging of AS if it is not rewritten with zero.
Did small changes to IPC infrastructure. |
|
1070 |
6729 d 20 h |
jermar |
/kernel/trunk/ |
More checks for address space area conflicts. |
|
1069 |
6729 d 20 h |
cejka |
/kernel/trunk/ |
Printf correctly handle NULL pointer as parameter to %s option. |
|
1066 |
6730 d 4 h |
jermar |
/kernel/trunk/ |
Support for user space threads. |
|
1063 |
6730 d 6 h |
palkovsky |
/kernel/trunk/ |
Add support for more then 2GB of address space for AMD64. |
|
1062 |
6730 d 7 h |
jermar |
/kernel/trunk/ |
It is now possible to associate symbolic names with both threads and tasks.
More verbose kconsole threads, tasks and scheduler commands. |
|
1060 |
6730 d 9 h |
palkovsky |
/kernel/trunk/ |
Added task_print.
Fixed ipc to support connect_me_to. |
|
1053 |
6730 d 13 h |
vana |
/kernel/trunk/ |
Itanium FPU Lazy context switching... but not so much tested |
|
1050 |
6730 d 14 h |
palkovsky |
/kernel/trunk/ |
Added null console for buffering output when no real output available.
Added identity mapper for AMD64 that allows whole physical memory to be
accessed before paging is initialized. |
|
1048 |
6730 d 15 h |
jermar |
/kernel/trunk/generic/ |
Restore interrupts when failing in as_remap().
Add check_area_conflicts() that checks whether address area overlaps with other areas.
Refuse to create writeable executable address space areas.
Rename as_area_t::size to as_area_t::pages. |
|
1044 |
6730 d 17 h |
jermar |
/kernel/trunk/ |
Page table locking. |
|