]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
staging: ramster: local compression + tmem
authorDan Magenheimer <dan.magenheimer@oracle.com>
Wed, 15 Feb 2012 15:54:16 +0000 (07:54 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Feb 2012 17:02:03 +0000 (09:02 -0800)
commit19ee3ef5f4bb22d17eb73d89a520437745b8b444
tree9d51281ef697f834529386aca0fa168783dfe1ea
parentb605c9621e57e72cbd45d59fd93d97b4a75c3597
staging: ramster: local compression + tmem

RAMster implements peer-to-peer transcendent memory, allowing a "cluster"
of kernels to dynamically pool their RAM.

This patch copies 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]