[RFC PATCH] Fixes and cleanups to the tmem driver. (v1)

From: Konrad Rzeszutek Wilk
Date: Wed May 08 2013 - 17:33:41 EST


These patches are RFC - I hadn't yet completly tested them. But they
fix the annoying:
drivers/xen/tmem.c:365:13: warning: 'disable_frontswap_selfshrinking' defined but not used [-Wunused-variable]

(patch #4: [PATCH 4/8] xen/tmem: Fix compile warning. does it).

The rest are cleanups and removes some of the #ifdef machinary.

I hadn't yet the full testing and I am sure I am missing some
other documentation I should update.

Documentation/kernel-parameters.txt | 20 ++++++++++
drivers/xen/Kconfig | 7 ++--
drivers/xen/tmem.c | 79 +++++++++++++++----------------------
drivers/xen/xen-selfballoon.c | 36 +----------------
4 files changed, 56 insertions(+), 86 deletions(-)

(Yeey! More deletions!)

Konrad Rzeszutek Wilk (8):
xen/tmem: Cleanup. Remove the parts that say temporary.
xen/tmem: Move all of the boot and module parameters to the top of the file.
xen/tmem: Split out the different module/boot options.
xen/tmem: Fix compile warning.
xen/tmem: s/disable_// and change the logic.
xen/tmem: Remove the boot options and fold them in the tmem.X parameters.
xen/tmem: Remove the usage of 'noselfshrink' and use 'tmem.selfshrink' bool instead.
xen/tmem: Remove the usage of 'noselfballoon','selfballoon' and use 'tmem.selfballon' bool instead.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/