Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213232
b: refs/heads/master
c: 10ccd84
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo committed Oct 19, 2010
1 parent e44bb63 commit 3f1e5cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: e24dcbef93dbbf529fbedfc6ce8ab22d2cef35f0
refs/heads/master: 10ccd84695c2a03075bad2f4fc728575fe9051f8
2 changes: 0 additions & 2 deletions trunk/mm/memory_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,6 @@ static int offline_pages(unsigned long start_pfn,
ret = 0;
if (drain) {
lru_add_drain_all();
flush_scheduled_work();
cond_resched();
drain_all_pages();
}
Expand All @@ -862,7 +861,6 @@ static int offline_pages(unsigned long start_pfn,
}
/* drain all zone's lru pagevec, this is asyncronous... */
lru_add_drain_all();
flush_scheduled_work();
yield();
/* drain pcp pages , this is synchrouns. */
drain_all_pages();
Expand Down

0 comments on commit 3f1e5cb

Please sign in to comment.