projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
e1000: Omit private ndo_get_stats function
[linux-2.6-microblaze.git]
/
mm
/
swap_cgroup.c
diff --git
a/mm/swap_cgroup.c
b/mm/swap_cgroup.c
index
310ac0b
..
ac6318a
100644
(file)
--- a/
mm/swap_cgroup.c
+++ b/
mm/swap_cgroup.c
@@
-201,6
+201,8
@@
void swap_cgroup_swapoff(int type)
struct page *page = map[i];
if (page)
__free_page(page);
+ if (!(i % SWAP_CLUSTER_MAX))
+ cond_resched();
}
vfree(map);
}