Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217496
b: refs/heads/master
c: 809c444
h: refs/heads/master
v: v3
  • Loading branch information
Bob Liu authored and Linus Torvalds committed Oct 26, 2010
1 parent f947b61 commit 2c21380
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f6a3607e5f30dc642bead8cd95c48d47b6b4bfbb
refs/heads/master: 809c444977adb7313e0612e9e3af4b73ba3f5746
10 changes: 6 additions & 4 deletions trunk/mm/memory_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,15 +696,17 @@ do_migrate_range(unsigned long start_pfn, unsigned long end_pfn)
page_is_file_cache(page));

} else {
/* Becasue we don't have big zone->lock. we should
check this again here. */
if (page_count(page))
not_managed++;
#ifdef CONFIG_DEBUG_VM
printk(KERN_ALERT "removing pfn %lx from LRU failed\n",
pfn);
dump_page(page);
#endif
/* Becasue we don't have big zone->lock. we should
check this again here. */
if (page_count(page)) {
not_managed++;
break;
}
}
}
ret = -EBUSY;
Expand Down

0 comments on commit 2c21380

Please sign in to comment.