tmem: Delete deduplication (and tze) code.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 27 Sep 2016 13:40:22 +0000 (09:40 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 30 Sep 2016 19:26:18 +0000 (15:26 -0400)
commit1a70e54b5fd7b8a3b04c739a4de27b2509b42180
tree8941ac6f6d332fe89b0fffb036f244ff74a87a98
parent840c5c9e6675a7ae9665fcc610b3112d1da8b672
tmem: Delete deduplication (and tze) code.

Couple of reasons:
 - It can lead to security issues (see row-hammer, KSM and such
   attacks).
 - Code is quite complex.
 - Deduplication is good if the pages themselves are the same
   but that is hardly guaranteed.
 - We got some gains (if pages are deduped) but at the cost of
   making code less maintainable.
 - tze depends on deduplication code.

As such, deleting it.

Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
docs/misc/xen-command-line.markdown
xen/common/tmem.c
xen/common/tmem_control.c
xen/common/tmem_xen.c
xen/include/xen/tmem_xen.h