Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4605 5658 d 0 h decky /branches/snapshot/ add task snapshoting branch  
4490 5686 d 19 h decky /trunk/kernel/ remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)  
4174 5758 d 11 h decky /trunk/kernel/generic/ add malloc slab caches for up to 4 MB blocks  
3972 5783 d 15 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 6033 d 0 h jermar /trunk/kernel/generic/include/mm/ cstyle for slab.h  
2745 6149 d 2 h decky /trunk/ code cleanup (mostly signed/unsigned)
allow extra compiler warnings
 
2444 6420 d 15 h jermar /trunk/kernel/ First fixes for suncc support.
It is going to be a long way...
 
2124 6529 d 20 h decky /trunk/kernel/generic/ implement simple realloc()  
2106 6538 d 1 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 6554 d 18 h jermar /trunk/ (c) versus (C)  
1951 6641 d 20 h jermar /trunk/kernel/generic/include/mm/ Fix comma mistakenly removed in last commit.  
1950 6641 d 21 h jermar /trunk/kernel/ Indentation changes and coding style fixes in slab.c and slab.h.  
1941 6645 d 21 h decky /trunk/kernel/generic/include/ cleanup  
1888 6679 d 21 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1787 6744 d 20 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6751 d 21 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1702 6773 d 0 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1576 6781 d 18 h jermar /kernel/trunk/ Make use of thread_join_timeout() and thread_detach() in kernel.

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