Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354490
b: refs/heads/master
c: 76426da
h: refs/heads/master
v: v3
  • Loading branch information
Dan Magenheimer authored and Greg Kroah-Hartman committed Feb 11, 2013
1 parent 2e5cea1 commit 6011482
Show file tree
Hide file tree
Showing 3 changed files with 285 additions and 66 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 78110bb8dc4a7ff331bfa3cfe7d4e287cfb3f22b
refs/heads/master: 76426daf50d5df38893cc189e9ccd026093debc8
17 changes: 17 additions & 0 deletions trunk/drivers/staging/zcache/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,20 @@ config RAMSTER
while minimizing total RAM across the cluster. RAMster, like
zcache2, compresses swap pages into local RAM, but then remotifies
the compressed pages to another node in the RAMster cluster.

# Depends on not-yet-upstreamed mm patches to export end_swap_bio_write and
# __add_to_swap_cache, and implement __swap_writepage (which is swap_writepage
# without the frontswap call. When these are in-tree, the dependency on
# BROKEN can be removed
config ZCACHE_WRITEBACK
bool "Allow compressed swap pages to be writtenback to swap disk"
depends on ZCACHE=y && BROKEN
default n
help
Zcache caches compressed swap pages (and other data) in RAM which
often improves performance by avoiding I/O's due to swapping.
In some workloads with very long-lived large processes, it can
instead reduce performance. Writeback decompresses zcache-compressed
pages (in LRU order) when under memory pressure and writes them to
the backing swap disk to ameliorate this problem. Policy driving
writeback is still under development.
Loading

0 comments on commit 6011482

Please sign in to comment.