Thread (2 messages) flat view 2 messages, 2 authors, 2012-08-06

Re: [PATCH v5 1/3] mm: introduce compaction and migration for virtio ballooned pages

From: Rik van Riel <hidden>
Date: 2012-08-06 18:39:12
Also in: linux-mm, lkml

On 08/06/2012 09:56 AM, Rafael Aquini wrote:
quoted hunk
@@ -846,6 +861,21 @@ static int unmap_and_move(new_page_t get_new_page, unsigned long private,
  			goto out;

  	rc = __unmap_and_move(page, newpage, force, offlining, mode);
+
+	if (unlikely(is_balloon_page(newpage)&&
+		     balloon_compaction_enabled())) {
Could that be collapsed into one movable_balloon_page(newpage) function
call?

-- 
All rights reversed
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help