[RFC 2/4] mm/balloon: apply driver page migratable into balloon driver

2015-06-02 Thread Gioh Kim
Apply driver page migration into balloon driver. Signed-off-by: Gioh Kim gioh@lge.com --- drivers/virtio/virtio_balloon.c| 2 ++ fs/proc/page.c | 4 +-- include/linux/balloon_compaction.h | 42 --- include/linux/mm.h

[RFC 3/4] mm/compaction: compaction calls generic migration

2015-06-02 Thread Gioh Kim
Compaction calls interfaces of driver page migration instead of calling balloon migration directly. Signed-off-by: Gioh Kim gioh@lge.com --- mm/compaction.c | 9 + mm/migrate.c| 22 +- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git

[RFC 1/4] mm/compaction: enable driver page migration

2015-06-02 Thread Gioh Kim
Add framework to register callback functions and check migratable pages. There are some modes to isolate page so that isolate interface has arguments of page address and isolation mode. Signed-off-by: Gioh Kim gioh@lge.com --- include/linux/compaction.h | 13 + include/linux/fs.h

[RFC 4/4] mm: remove direct calling of migration

2015-06-02 Thread Gioh Kim
Migration is completely generalized. Signed-off-by: Gioh Kim gioh@lge.com --- mm/balloon_compaction.c | 8 mm/migrate.c| 15 --- 2 files changed, 23 deletions(-) diff --git a/mm/balloon_compaction.c b/mm/balloon_compaction.c index f98a500..d29270aa 100644

[RFC 0/4] enable migration of non-LRU pages

2015-06-02 Thread Gioh Kim
Hello, This series try to enable migration of non-LRU pages, such as driver's page. My ARM-based platform occured severe fragmentation problem after long-term (several days) test. Sometimes even order-3 page allocation failed. It has memory size 512MB ~ 1024MB. 30% ~ 40% memory is consumed for

Re: [PATCH v3 4/4] Add virtio gpu driver.

2015-06-02 Thread Michael S. Tsirkin
On Fri, May 22, 2015 at 03:11:52PM +0200, Gerd Hoffmann wrote: From: Dave Airlie airl...@gmail.com This patch adds a kms driver for the virtio gpu. The xorg modesetting driver can handle the device just fine, the framebuffer for fbcon is there too. Qemu patches for the host side are

Re: [RFC 2/4] mm/balloon: apply driver page migratable into balloon driver

2015-06-02 Thread Gioh Kim
On Tue, Jun 2, 2015 at 10:27 AM, Gioh Kim gioh@lge.com wrote: Apply driver page migration into balloon driver. Signed-off-by: Gioh Kim gioh@lge.com --- drivers/virtio/virtio_balloon.c| 2 ++ fs/proc/page.c | 4 +--