[PATCH v2 0/6] mm/balloon_compaction: fixes and cleanups

From: Konstantin Khlebnikov
Date: Sat Aug 30 2014 - 12:41:35 EST


I've checked compilation of linux-next/x86 for allnoconfig, defconfig and
defconfig + kvmconfig + virtio-balloon with and without balloon-compaction.
For stable kernels first three patches should be enough.

changes since v1:

mm/balloon_compaction: ignore anonymous pages
* no changes

mm/balloon_compaction: keep ballooned pages away from normal migration path
* fix compilation without CONFIG_BALLOON_COMPACTION

mm/balloon_compaction: isolate balloon pages without lru_lock
* no changes

mm: introduce common page state for ballooned memory
* move __Set/ClearPageBalloon into linux/mm.h
* remove inc/dec_zone_page_state from __Set/ClearPageBalloon

mm/balloon_compaction: use common page ballooning
* call inc/dec_zone_page_state from balloon_page_insert/delete

mm/balloon_compaction: general cleanup
* fix compilation without CONFIG_MIGRATION
* fix compilation without CONFIG_BALLOON_COMPACTION

---

Konstantin Khlebnikov (6):
mm/balloon_compaction: ignore anonymous pages
mm/balloon_compaction: keep ballooned pages away from normal migration path
mm/balloon_compaction: isolate balloon pages without lru_lock
mm: introduce common page state for ballooned memory
mm/balloon_compaction: use common page ballooning
mm/balloon_compaction: general cleanup


Documentation/filesystems/proc.txt | 2
drivers/base/node.c | 16 +-
drivers/virtio/Kconfig | 1
drivers/virtio/virtio_balloon.c | 77 +++--------
fs/proc/meminfo.c | 6 +
fs/proc/page.c | 3
include/linux/balloon_compaction.h | 223 ++++++--------------------------
include/linux/migrate.h | 11 --
include/linux/mm.h | 20 +++
include/linux/mmzone.h | 3
include/linux/pagemap.h | 18 ---
include/uapi/linux/kernel-page-flags.h | 1
mm/Kconfig | 7 +
mm/Makefile | 3
mm/balloon_compaction.c | 219 ++++++++++---------------------
mm/compaction.c | 9 +
mm/migrate.c | 29 +---
mm/vmscan.c | 2
mm/vmstat.c | 8 +
tools/vm/page-types.c | 1
20 files changed, 210 insertions(+), 449 deletions(-)

--
Signature
--
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/