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