Subversion Repositories HelenOS

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4490 5478 d 22 h decky /trunk/kernel/ remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)  
4174 5550 d 14 h decky /trunk/kernel/generic/ add malloc slab caches for up to 4 MB blocks  
3972 5575 d 18 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 5825 d 3 h jermar /trunk/kernel/generic/include/mm/ cstyle for slab.h  
2745 5941 d 6 h decky /trunk/ code cleanup (mostly signed/unsigned)
allow extra compiler warnings
 
2444 6212 d 18 h jermar /trunk/kernel/ First fixes for suncc support.
It is going to be a long way...
 
2124 6321 d 23 h decky /trunk/kernel/generic/ implement simple realloc()  
2106 6330 d 4 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 6346 d 21 h jermar /trunk/ (c) versus (C)  
1951 6433 d 23 h jermar /trunk/kernel/generic/include/mm/ Fix comma mistakenly removed in last commit.  
1950 6434 d 0 h jermar /trunk/kernel/ Indentation changes and coding style fixes in slab.c and slab.h.  
1941 6438 d 0 h decky /trunk/kernel/generic/include/ cleanup  
1888 6472 d 0 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1787 6536 d 23 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6544 d 0 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1702 6565 d 3 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1576 6573 d 22 h jermar /kernel/trunk/ Make use of thread_join_timeout() and thread_detach() in kernel.

Improved comments in slab.h.
 
1428 6581 d 19 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 6648 d 0 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 6689 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 6690 d 5 h palkovsky /kernel/trunk/ Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print.
 
791 6692 d 16 h palkovsky /kernel/trunk/generic/ better utilization of memory in slab alloc
removed malloc-8 slab
 
789 6692 d 20 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 6692 d 23 h jermar /kernel/trunk/ Move list and fifo data types to adt/.  
787 6693 d 0 h palkovsky /kernel/trunk/generic/ Added constructor/destructor calls to SLAB.
Changed allocation of thread_t structure to use SLAB.
 
781 6693 d 16 h palkovsky /kernel/trunk/generic/ Still better locking - does not hold global spinlock when
destroying cache.
 
776 6694 d 2 h palkovsky /kernel/trunk/generic/ Added more granular locking to slab allocator and thus fix
hopefully last race condition.
 
771 6694 d 18 h palkovsky /kernel/trunk/generic/ Implemented malloc/free as SLABs.  
767 6695 d 19 h palkovsky /kernel/trunk/ Partially working SLAB CPU cache.  
766 6695 d 20 h palkovsky /kernel/trunk/ Basic SLAB (without CPU-cache) passes test.  
764 6696 d 1 h palkovsky /kernel/trunk/ Tested basic non-cached slab allocation.  
762 6696 d 3 h palkovsky /kernel/trunk/ Currently not-working SLAB allocator.
- slightly changed interface to frame_alloc, allow zone preference
 
759 6696 d 16 h palkovsky /kernel/trunk/ Skeleton of SLAB allocator.