Rev |
Age |
Author |
Path |
Log message |
Diff |
1171 |
6703 d 16 h |
jermar |
/kernel/trunk/ |
Initialize ARCH_THREAD_DATA on all architectures.
On ia32 and amd64 this fixes bug caused by uninitialized TLS pointer. |
|
1170 |
6704 d 9 h |
vana |
/kernel/trunk/ |
Stack size definition macro definition fix |
|
1164 |
6706 d 9 h |
jermar |
/kernel/trunk/generic/ |
Switch B+tree node allocation from malloc() to a dedicated slab - btree_node_slab. |
|
1159 |
6706 d 10 h |
jermar |
/kernel/trunk/generic/ |
Replace list of all tasks with B+tree of all tasks. |
|
1158 |
6706 d 10 h |
jermar |
/kernel/trunk/generic/ |
Replace list of all threads with B+tree of all threads.
Add function thread_exists() for querying existence of thread. |
|
1156 |
6706 d 11 h |
jermar |
/kernel/trunk/generic/ |
Sleeping in a wait queue can be now interrupted with
waitq_interrupt_sleep(). |
|
1150 |
6711 d 16 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. |
|
1149 |
6712 d 3 h |
jermar |
/kernel/trunk/generic/include/mm/ |
s/B+-tree/B+tree/ |
|
1147 |
6712 d 3 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. |
|
1142 |
6714 d 14 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.) |
|
1140 |
6716 d 7 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. |
|
1139 |
6716 d 7 h |
jermar |
/kernel/trunk/generic/include/ |
Fix comments. |
|
1138 |
6719 d 8 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(). |
|
1117 |
6723 d 4 h |
jermar |
/kernel/trunk/generic/ |
Improved futexes. (kernel part) |
|
1112 |
6723 d 15 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 3 h |
jermar |
/kernel/trunk/ |
Basic futex. Prototype implementation. |
|
1107 |
6724 d 3 h |
jermar |
/kernel/trunk/ |
Small atomic #include and typedef changes. |
|
1104 |
6724 d 8 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. |
|
1101 |
6726 d 5 h |
jermar |
/kernel/trunk/ |
B+-tree implementation.
Currently supports only inserting and searching. |
|
1100 |
6726 d 5 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. |
|