Rev |
Age |
Author |
Path |
Log message |
Diff |
2504 |
6235 d 23 h |
jermar |
/trunk/kernel/generic/ |
Give the AVL tree walkers the possibility to take an argument.
Each walker is now supposed to return a bool value to support walk termination.
Switch over from the tasks_btree B+tree to tasks_tree AVL tree.
This makes the fix for ticket #48 complete. |
|
2503 |
6236 d 0 h |
jermar |
/trunk/kernel/generic/src/adt/ |
Get rid of code duplicities in the insert path into an AVL tree. |
|
2501 |
6236 d 5 h |
jermar |
/trunk/kernel/generic/ |
Add explicit type for an AVL tree key.
Add function to walk an AVL tree using a supplied walker. |
|
2499 |
6236 d 7 h |
jermar |
/trunk/kernel/ |
Import the AVL tree implementation from the RCU branch. |
|
2216 |
6348 d 22 h |
decky |
/trunk/ |
make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls |
|
2112 |
6410 d 6 h |
decky |
/trunk/kernel/generic/src/adt/ |
explicit typecast, fix signed/unsigned comparison |
|
2111 |
6410 d 6 h |
decky |
/trunk/kernel/generic/src/adt/ |
fix signed/unsigned comparison |
|
2089 |
6418 d 5 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2071 |
6428 d 22 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1787 |
6619 d 0 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6626 d 1 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1757 |
6640 d 6 h |
jermar |
/kernel/trunk/ |
Cleanup of comments. |
|
1708 |
6644 d 7 h |
jermar |
/kernel/trunk/ |
Fix some broken doxygen comments. |
|
1705 |
6646 d 7 h |
cejka |
/kernel/trunk/ |
Added file with modules definitions and descriptions.
We are able to change modules order and their description in one place. |
|
1704 |
6646 d 10 h |
cejka |
/kernel/trunk/ |
Fixed first letter size of subgroup name in Others. |
|
1702 |
6647 d 4 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1549 |
6657 d 3 h |
vana |
/kernel/trunk/generic/src/adt/ |
Bitmap functions patch |
|
1483 |
6659 d 4 h |
jermar |
/kernel/trunk/generic/src/ |
Implement recursive function for deallocating the whole B+tree.
Make use of this function in address space management. |
|
1337 |
6676 d 3 h |
jermar |
/kernel/trunk/generic/src/adt/ |
Remove a misleading comment. |
|
1262 |
6690 d 23 h |
jermar |
/kernel/trunk/generic/src/adt/ |
Fix a bug caused by an unsigned subtraction of bigger value from smaller value in bitmap implementation.
Fix wrong calculation of unaligned leading bits in bitmap implementation. |
|
1248 |
6694 d 1 h |
jermar |
/kernel/trunk/ |
Add some @file doxygen comments and improve already existing comments. |
|
1221 |
6698 d 19 h |
decky |
/kernel/trunk/ |
printf-related and other code cleanup |
|
1200 |
6704 d 3 h |
jermar |
/kernel/trunk/ |
Add bitmap ADT. |
|
1196 |
6705 d 5 h |
cejka |
/kernel/trunk/ |
Printf ported back from uspace to kernel.
Printf calls changed to match new conventions. |
|
1177 |
6709 d 6 h |
jermar |
/kernel/trunk/generic/ |
Modify B+tree node key width to be 64-bit wide on all platforms. |
|
1164 |
6712 d 2 h |
jermar |
/kernel/trunk/generic/ |
Switch B+tree node allocation from malloc() to a dedicated slab - btree_node_slab. |
|
1154 |
6716 d 1 h |
jermar |
/kernel/trunk/generic/src/adt/ |
Fix critical bug in hash table initialization.
Only half of the table was actually allocated and initialized. |
|
1150 |
6717 d 9 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 |
6717 d 20 h |
jermar |
/kernel/trunk/generic/src/ |
s/B+-tree/B+tree/ |
|
1147 |
6717 d 20 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 |
6720 d 0 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 |
6720 d 7 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 |
6722 d 0 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. |
|
1136 |
6725 d 23 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 |
6727 d 2 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 |
6728 d 21 h |
jermar |
/kernel/trunk/ |
Small textual changes. |
|
1101 |
6731 d 22 h |
jermar |
/kernel/trunk/ |
B+-tree implementation.
Currently supports only inserting and searching. |
|
902 |
6751 d 5 h |
jermar |
/kernel/trunk/ |
ia64 work.
More capable TLB miss handlers.
The ia64 kernel now passes mm/mapping1 test.
Fix generic hash table to properly initialize lists.
Change page_ht() to properly initialize inserted PTE's.
Change format of generic page hash table PTE's. |
|
822 |
6771 d 19 h |
palkovsky |
/kernel/trunk/ |
Changed malloc to include second parameter and documented
recommended usage.
Added zone merging, made ia32 & amd64 to merge found zones. |
|
814 |
6772 d 6 h |
palkovsky |
/kernel/trunk/ |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print. |
|