| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 4490 |
6041 d 3 h |
decky |
/trunk/kernel/ |
remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed) |
|
| 4174 |
6112 d 19 h |
decky |
/trunk/kernel/generic/ |
add malloc slab caches for up to 4 MB blocks |
|
| 3972 |
6137 d 23 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 |
6387 d 8 h |
jermar |
/trunk/kernel/generic/include/mm/ |
cstyle for slab.h |
|
| 2745 |
6503 d 11 h |
decky |
/trunk/ |
code cleanup (mostly signed/unsigned)
allow extra compiler warnings |
|
| 2444 |
6774 d 23 h |
jermar |
/trunk/kernel/ |
First fixes for suncc support.
It is going to be a long way... |
|
| 2124 |
6884 d 4 h |
decky |
/trunk/kernel/generic/ |
implement simple realloc() |
|
| 2106 |
6892 d 9 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 |
6909 d 2 h |
jermar |
/trunk/ |
(c) versus (C) |
|
| 1951 |
6996 d 4 h |
jermar |
/trunk/kernel/generic/include/mm/ |
Fix comma mistakenly removed in last commit. |
|
| 1950 |
6996 d 5 h |
jermar |
/trunk/kernel/ |
Indentation changes and coding style fixes in slab.c and slab.h. |
|
| 1941 |
7000 d 5 h |
decky |
/trunk/kernel/generic/include/ |
cleanup |
|
| 1888 |
7034 d 5 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
| 1787 |
7099 d 4 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
| 1780 |
7106 d 5 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
| 1702 |
7127 d 8 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
| 1576 |
7136 d 3 h |
jermar |
/kernel/trunk/ |
Make use of thread_join_timeout() and thread_detach() in kernel.
Improved comments in slab.h. |
|
| 1428 |
7143 d 23 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 |
7210 d 5 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 |
7251 d 23 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 |
7252 d 10 h |
palkovsky |
/kernel/trunk/ |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print. |
|
| 791 |
7254 d 21 h |
palkovsky |
/kernel/trunk/generic/ |
better utilization of memory in slab alloc
removed malloc-8 slab |
|
| 789 |
7255 d 1 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 |
7255 d 4 h |
jermar |
/kernel/trunk/ |
Move list and fifo data types to adt/. |
|
| 787 |
7255 d 5 h |
palkovsky |
/kernel/trunk/generic/ |
Added constructor/destructor calls to SLAB.
Changed allocation of thread_t structure to use SLAB. |
|
| 781 |
7255 d 21 h |
palkovsky |
/kernel/trunk/generic/ |
Still better locking - does not hold global spinlock when
destroying cache. |
|
| 776 |
7256 d 7 h |
palkovsky |
/kernel/trunk/generic/ |
Added more granular locking to slab allocator and thus fix
hopefully last race condition. |
|
| 771 |
7256 d 23 h |
palkovsky |
/kernel/trunk/generic/ |
Implemented malloc/free as SLABs. |
|
| 767 |
7258 d 0 h |
palkovsky |
/kernel/trunk/ |
Partially working SLAB CPU cache. |
|
| 766 |
7258 d 1 h |
palkovsky |
/kernel/trunk/ |
Basic SLAB (without CPU-cache) passes test. |
|
| 764 |
7258 d 6 h |
palkovsky |
/kernel/trunk/ |
Tested basic non-cached slab allocation. |
|
| 762 |
7258 d 8 h |
palkovsky |
/kernel/trunk/ |
Currently not-working SLAB allocator.
- slightly changed interface to frame_alloc, allow zone preference |
|
| 759 |
7258 d 21 h |
palkovsky |
/kernel/trunk/ |
Skeleton of SLAB allocator. |
|