Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/uvm



Module Name:    src
Committed By:   yamt
Date:           Wed Apr  6 13:51:33 UTC 2005

Modified Files:
        src/sys/uvm: uvm_swap.c

Log Message:
switch swap space allocation code to use blist instead of extent(9).
fix "warning: resource shortage: %d pages of swap lost".

extent(9) has some undesirable characteristics for swap allocation:
        - it involves alloc-to-free.
        - its operational cost is O(n*n) where n is number of entries.


To generate a diff of this commit:
cvs rdiff -r1.89 -r1.90 src/sys/uvm/uvm_swap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index