Rev |
Age |
Author |
Path |
Log message |
Diff |
4490 |
5551 d 4 h |
decky |
/trunk/kernel/ |
remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed) |
|
4174 |
5622 d 21 h |
decky |
/trunk/kernel/generic/ |
add malloc slab caches for up to 4 MB blocks |
|
3972 |
5648 d 0 h |
decky |
/trunk/kernel/ |
kernel memory management revisited (phase 1): proper support for zone flags
- the zone_t structures are now statically allocated to be easily available
- the locking scheme was simplified
- new flags for non-available zones were introduced
- FRAME_LOW_4_GiB flag is removed, the functionality will be eventually reimplemented using a generic mechanism |
|
3182 |
5897 d 9 h |
jermar |
/trunk/kernel/generic/include/mm/ |
cstyle for slab.h |
|
2745 |
6013 d 12 h |
decky |
/trunk/ |
code cleanup (mostly signed/unsigned)
allow extra compiler warnings |
|
2444 |
6285 d 0 h |
jermar |
/trunk/kernel/ |
First fixes for suncc support.
It is going to be a long way... |
|
2124 |
6394 d 6 h |
decky |
/trunk/kernel/generic/ |
implement simple realloc() |
|
2106 |
6402 d 10 h |
jermar |
/trunk/kernel/ |
Merge as_t structure into one and leave the differring parts in as_genarch_t.
Indentation and formatting changes in header files. |
|
2071 |
6419 d 3 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1951 |
6506 d 5 h |
jermar |
/trunk/kernel/generic/include/mm/ |
Fix comma mistakenly removed in last commit. |
|
1950 |
6506 d 6 h |
jermar |
/trunk/kernel/ |
Indentation changes and coding style fixes in slab.c and slab.h. |
|
1941 |
6510 d 7 h |
decky |
/trunk/kernel/generic/include/ |
cleanup |
|
1888 |
6544 d 7 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1787 |
6609 d 5 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6616 d 6 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1702 |
6637 d 9 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1576 |
6646 d 4 h |
jermar |
/kernel/trunk/ |
Make use of thread_join_timeout() and thread_detach() in kernel.
Improved comments in slab.h. |
|
1428 |
6654 d 1 h |
palkovsky |
/kernel/trunk/generic/ |
Added 256K slab, so that AMD can boot (until ELF loader is fixed).
Added AS_AREA_RECV so that the caller can receive AS_AREA. |
|
1104 |
6720 d 6 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. |
|
822 |
6762 d 1 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 |
6762 d 11 h |
palkovsky |
/kernel/trunk/ |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print. |
|
791 |
6764 d 22 h |
palkovsky |
/kernel/trunk/generic/ |
better utilization of memory in slab alloc
removed malloc-8 slab |
|
789 |
6765 d 2 h |
palkovsky |
/kernel/trunk/generic/ |
Early SLAB initialization, the cpu-cache is initialized later.
If you want to use slab_cache_create befor slab_cpu_enable, add
a flag SLAB_CACHE_MAGDEFERRED. |
|
788 |
6765 d 6 h |
jermar |
/kernel/trunk/ |
Move list and fifo data types to adt/. |
|
787 |
6765 d 7 h |
palkovsky |
/kernel/trunk/generic/ |
Added constructor/destructor calls to SLAB.
Changed allocation of thread_t structure to use SLAB. |
|
781 |
6765 d 22 h |
palkovsky |
/kernel/trunk/generic/ |
Still better locking - does not hold global spinlock when
destroying cache. |
|
776 |
6766 d 9 h |
palkovsky |
/kernel/trunk/generic/ |
Added more granular locking to slab allocator and thus fix
hopefully last race condition. |
|
771 |
6767 d 1 h |
palkovsky |
/kernel/trunk/generic/ |
Implemented malloc/free as SLABs. |
|
767 |
6768 d 1 h |
palkovsky |
/kernel/trunk/ |
Partially working SLAB CPU cache. |
|
766 |
6768 d 2 h |
palkovsky |
/kernel/trunk/ |
Basic SLAB (without CPU-cache) passes test. |
|
764 |
6768 d 8 h |
palkovsky |
/kernel/trunk/ |
Tested basic non-cached slab allocation. |
|
762 |
6768 d 10 h |
palkovsky |
/kernel/trunk/ |
Currently not-working SLAB allocator.
- slightly changed interface to frame_alloc, allow zone preference |
|
759 |
6768 d 22 h |
palkovsky |
/kernel/trunk/ |
Skeleton of SLAB allocator. |
|