staging: ramster: local compression + tmem
authorDan Magenheimer <dan.magenheimer@oracle.com>
Mon, 30 Jan 2012 22:39:18 +0000 (14:39 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 01:04:07 +0000 (17:04 -0800)
commitba351b02ab11616b08b9220dacd49b20415b1f80
tree58e1607c9cc9b193889f61cbaf09acd680d6f9db
parent1135ca9c869fff55a32fdce2171b33f36e44ea0c
staging: ramster: local compression + tmem

Copy files from drivers/staging/zcache.  Ramster compresses pages
locally before transmitting them to another node, so we can
leverage the zcache and tmem code directly.  Note: there are
no ramster-specific changes yet to these files.

(Why copy?  The ramster tmem.c/tmem.h changes are definitely shareable
between zcache and ramster; the eventual destination for tmem.c
is the linux lib directory.  Ramster changes to zcache are more substantial
and zcache is currently undergoing some significant unrelated changes
(including a new allocator and breaking zcache-main.c into smaller files),
so it seemed best to branch temporarily and merge later.)

Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ramster/Kconfig [new file with mode: 0644]
drivers/staging/ramster/Makefile [new file with mode: 0644]
drivers/staging/ramster/tmem.c [new file with mode: 0644]
drivers/staging/ramster/tmem.h [new file with mode: 0644]
drivers/staging/ramster/zcache-main.c [new file with mode: 0644]