projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52bb919
)
vmscan: synchronous lumpy reclaim should not call congestion_wait()
author
KOSAKI Motohiro
<
[email protected]
>
Tue, 26 Oct 2010 21:21:41 +0000
(14:21 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 26 Oct 2010 23:52:07 +0000
(16:52 -0700)
congestion_wait() means "wait until queue congestion is cleared".
However, synchronous lumpy reclaim does not need this congestion_wait() as
shrink_page_list(PAGEOUT_IO_SYNC) uses wait_on_page_writeback() and it
provides the necessary waiting.
Signed-off-by: KOSAKI Motohiro <
[email protected]
>
Signed-off-by: Mel Gorman <
[email protected]
>
Reviewed-by: Minchan Kim <
[email protected]
>
Reviewed-by: Johannes Weiner <
[email protected]
>
Reviewed-by: Wu Fengguang <
[email protected]
>
Reviewed-by: KAMEZAWA Hiroyuki <
[email protected]
>
Cc: Rik van Riel <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/vmscan.c
patch
|
blob
|
history
diff --git
a/mm/vmscan.c
b/mm/vmscan.c
index 4a6dccb57586f73596dd8c00311acb229274eee0..399d54e8a82cefad9af7a1b70f9dca2332e92933 100644
(file)
--- a/
mm/vmscan.c
+++ b/
mm/vmscan.c
@@
-1340,8
+1340,6
@@
shrink_inactive_list(unsigned long nr_to_scan, struct zone *zone,
/* Check if we should syncronously wait for writeback */
if (should_reclaim_stall(nr_taken, nr_reclaimed, priority, sc)) {
- congestion_wait(BLK_RW_ASYNC, HZ/10);
-
/*
* The attempt at page out may have made some
* of the pages active, mark them inactive again.