home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / ubuntu / compcache / Kconfig next >
Encoding:
Text File  |  2009-09-09  |  1.5 KB  |  62 lines

  1. menu "Compcache options"
  2.  
  3. config BLK_DEV_COMPCACHE
  4.     tristate "Compressed RAM based swap device"
  5.     default m
  6.     select TLSF
  7.     select LZO_COMPRESS
  8.     select LZO_DECOMPRESS
  9.     help
  10.       This creates RAM based block device which acts as swap disk. Pages
  11.       swapped to this disk are compressed and stored in memory itself.
  12.       Project Home: http://code.google.com/p/compcache/
  13.  
  14. config BLK_DEV_COMPCACHE_DEBUG
  15.     default n
  16.     depends on BLK_DEV_COMPCACHE
  17.     bool "Enable debugging"
  18.     help
  19.       This causes negligible performance loss and size increase.
  20.       If unsure, say Y.
  21.  
  22. config BLK_DEV_COMPCACHE_STATS
  23.     default n
  24.     depends on BLK_DEV_COMPCACHE
  25.     bool "Enable statistics"
  26.     help
  27.       Creates /proc/compcache to export various statistics.
  28.       This adds about 4K to size with negligible performance loss.
  29.       If unsure, say Y.
  30. endmenu
  31.  
  32. menu "Two Level Segregate Fit Allocator"
  33.  
  34. config TLSF
  35.     tristate "TLSF Allocator"
  36.     default m
  37.     help
  38.       Two Level Segregate Fit Allocator. Its fast and gives low
  39.       fragmentation. See:
  40.         http://rtportal.upv.es/rtmalloc/
  41.         http://code.google.com/p/compcache/wiki/TLSFAllocator
  42.       for more information.
  43.  
  44. config TLSF_DEBUG
  45.     default n
  46.     depends on TLSF
  47.     bool "Enable TLSF allocator debugging"
  48.     help
  49.       Enable TLSF debugging.
  50.       This causes negligible performance loss and size increase.
  51.       If unusure, say Y. 
  52.  
  53. config TLSF_STATS
  54.     default n
  55.     depends on TLSF
  56.     bool "Collect TLSF statistics"
  57.     help
  58.       Creates /proc/tlsfinfo to export various tlsf statistics.
  59.       This adds about 30K to size with significant performance loss.
  60.       If unsure, say N.
  61. endmenu
  62.