Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
701 6869 d 0 h jermar /kernel/trunk/generic/src/mm/ Fix zone_print_one() and zone_print_list().
- add missing spinlock_unlock()
- add missing interrupts_disable() and interrupts_restore()
Coding style fixes and cleanup.
 
686 6871 d 8 h bondari /kernel/trunk/generic/ Minor changes to 'zone' command  
683 6871 d 8 h bondari /kernel/trunk/generic/ Console command 'zone' now takes zone address as parameter.
Added buddy system statistics into the 'zone' command.
 
534 6906 d 4 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
533 6906 d 4 h bondari /SPARTAN/trunk/ Buddy allocator for physical memory complete implementation.
Tested on IA32, AMD64, MIPS32. RWLock Test #5 is not passed.
NOTE: Other architectures could be broken (but should not be)
 
532 6906 d 4 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6918 d 8 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
490 6925 d 7 h jermar /SPARTAN/trunk/generic/src/mm/ Fix typo and clean up comments.  
489 6925 d 7 h jermar /SPARTAN/trunk/generic/ Make the buddy system more general.
Store implementation defined pointer in buddy_system_t.
Pass buddy system pointer to implementation defined buddy system operations.
 
430 6939 d 1 h jermar /SPARTAN/trunk/ Move src/ and include/ to generic.  
381 6972 d 0 h jermar /SPARTAN/trunk/ Make cross-compiler the default compiler on IA-32.
For native compilations, use ./build.ia32 native.

Small changes elsewhere.
 
379 6973 d 10 h jermar /SPARTAN/trunk/src/mm/ Optimize buddy_system_free().
Remove special-case code from the main codepath.
 
378 6973 d 10 h jermar /SPARTAN/trunk/ Redeclare eraly_malloc() with __attribute__ ((malloc)) to improve optimizations.

Reorganize #include's in scheduler.c.

Buddy system improvements.
Make buddy_system_free() explicitly invalidate order of blocks before they are coalesced.
Add some assertions.
 
377 6976 d 3 h jermar /SPARTAN/trunk/ Generic buddy allocator.
Please review the code before it is deployed.
 

Show All