• Dan Magenheimer's avatar
    staging: ramster: local compression + tmem · 19ee3ef5
    Dan Magenheimer authored
    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: default avatarDan Magenheimer <dan.magenheimer@oracle.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    19ee3ef5
tmem.c 21.1 KB