login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
June
»
14
Re: [PATCH 06/12] vmscan: simplify shrink_inactive_list()
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Rik van Riel
Subject:
Re: [PATCH 06/12] vmscan: simplify shrink_inactive_list()
Date: Monday, June 14, 2010 - 11:06 am
On 06/14/2010 07:17 AM, Mel Gorman wrote:
quoted text
> From: KOSAKI Motohiro<kosaki.motohiro@jp.fujitsu.com> > > Now, max_scan of shrink_inactive_list() is always passed less than > SWAP_CLUSTER_MAX. then, we can remove scanning pages loop in it. > This patch also help stack diet. > > detail > - remove "while (nr_scanned< max_scan)" loop > - remove nr_freed (now, we use nr_reclaimed directly) > - remove nr_scan (now, we use nr_scanned directly) > - rename max_scan to nr_to_scan > - pass nr_to_scan into isolate_pages() directly instead > using SWAP_CLUSTER_MAX > > Signed-off-by: KOSAKI Motohiro<kosaki.motohiro@jp.fujitsu.com> > Reviewed-by: Johannes Weiner<hannes@cmpxchg.org>
Other than the weird whitespace below, Reviewed-by: Rik van Riel <riel@redhat.com>
quoted text
> + /* > + * If we are direct reclaiming for contiguous pages and we do > + * not reclaim everything in the list, try again and wait > + * for IO to complete. This will stall high-order allocations > + * but that should be acceptable to the caller > + */ > + if (nr_reclaimed< nr_taken&& !current_is_kswapd()&& sc->lumpy_reclaim_mode) { > + congestion_wait(BLK_RW_ASYNC, HZ/10);
-- All rights reversed --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/12] Avoid overflowing of stack during page reclaim V2
, Mel Gorman
, (Mon Jun 14, 4:17 am)
[PATCH 01/12] tracing, vmscan: Add trace events for kswapd ...
, Mel Gorman
, (Mon Jun 14, 4:17 am)
[PATCH 02/12] tracing, vmscan: Add trace events for LRU pa ...
, Mel Gorman
, (Mon Jun 14, 4:17 am)
[PATCH 03/12] tracing, vmscan: Add trace event when a page ...
, Mel Gorman
, (Mon Jun 14, 4:17 am)
[PATCH 04/12] tracing, vmscan: Add a postprocessing script ...
, Mel Gorman
, (Mon Jun 14, 4:17 am)
[PATCH 05/12] vmscan: kill prev_priority completely
, Mel Gorman
, (Mon Jun 14, 4:17 am)
[PATCH 06/12] vmscan: simplify shrink_inactive_list()
, Mel Gorman
, (Mon Jun 14, 4:17 am)
[PATCH 07/12] vmscan: Remove unnecessary temporary vars in ...
, Mel Gorman
, (Mon Jun 14, 4:17 am)
[PATCH 08/12] vmscan: Setup pagevec as late as possible in ...
, Mel Gorman
, (Mon Jun 14, 4:17 am)
[PATCH 09/12] vmscan: Setup pagevec as late as possible in ...
, Mel Gorman
, (Mon Jun 14, 4:17 am)
[PATCH 10/12] vmscan: Update isolated page counters outsid ...
, Mel Gorman
, (Mon Jun 14, 4:17 am)
[PATCH 11/12] vmscan: Write out dirty pages in batch
, Mel Gorman
, (Mon Jun 14, 4:17 am)
Re: [PATCH 0/12] Avoid overflowing of stack during page re ...
, Christoph Hellwig
, (Mon Jun 14, 8:10 am)
Re: [PATCH 01/12] tracing, vmscan: Add trace events for ks ...
, Rik van Riel
, (Mon Jun 14, 8:45 am)
Re: [PATCH 02/12] tracing, vmscan: Add trace events for LR ...
, Rik van Riel
, (Mon Jun 14, 9:47 am)
Re: [PATCH 03/12] tracing, vmscan: Add trace event when a ...
, Rik van Riel
, (Mon Jun 14, 9:48 am)
Re: [PATCH 04/12] tracing, vmscan: Add a postprocessing sc ...
, Rik van Riel
, (Mon Jun 14, 10:55 am)
Re: [PATCH 05/12] vmscan: kill prev_priority completely
, Rik van Riel
, (Mon Jun 14, 11:04 am)
Re: [PATCH 06/12] vmscan: simplify shrink_inactive_list()
, Rik van Riel
, (Mon Jun 14, 11:06 am)
Re: [PATCH 07/12] vmscan: Remove unnecessary temporary var ...
, Rik van Riel
, (Mon Jun 14, 11:14 am)
Re: [PATCH 09/12] vmscan: Setup pagevec as late as possibl ...
, Rik van Riel
, (Mon Jun 14, 12:24 pm)
Re: [PATCH 10/12] vmscan: Update isolated page counters ou ...
, Rik van Riel
, (Mon Jun 14, 12:42 pm)
Re: [PATCH 01/12] tracing, vmscan: Add trace events for ks ...
, Larry Woodman
, (Mon Jun 14, 2:01 pm)
Re: [PATCH 02/12] tracing, vmscan: Add trace events for LR ...
, Larry Woodman
, (Mon Jun 14, 2:02 pm)
Re: [PATCH 03/12] tracing, vmscan: Add trace event when a ...
, Larry Woodman
, (Mon Jun 14, 2:02 pm)
Re: [PATCH 04/12] tracing, vmscan: Add a postprocessing sc ...
, Larry Woodman
, (Mon Jun 14, 2:03 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Rik van Riel
, (Mon Jun 14, 2:13 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Dave Chinner
, (Mon Jun 14, 4:11 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Andrew Morton
, (Mon Jun 14, 4:21 pm)
Re: [PATCH 0/12] Avoid overflowing of stack during page re ...
, KAMEZAWA Hiroyuki
, (Mon Jun 14, 5:08 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Dave Chinner
, (Mon Jun 14, 5:39 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Rik van Riel
, (Mon Jun 14, 6:16 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Andrew Morton
, (Mon Jun 14, 6:39 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Andrew Morton
, (Mon Jun 14, 6:45 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Dave Chinner
, (Mon Jun 14, 8:20 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Rik van Riel
, (Mon Jun 14, 9:08 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Andrew Morton
, (Mon Jun 14, 9:15 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Andrew Morton
, (Mon Jun 14, 9:37 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Nick Piggin
, (Mon Jun 14, 10:12 pm)
[patch] mm: vmscan fix mapping use after free
, Nick Piggin
, (Mon Jun 14, 10:43 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Dave Chinner
, (Mon Jun 14, 11:36 pm)
Re: [PATCH 06/12] vmscan: simplify shrink_inactive_list()
, Mel Gorman
, (Tue Jun 15, 3:13 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Mel Gorman
, (Tue Jun 15, 3:18 am)
Re: [PATCH 08/12] vmscan: Setup pagevec as late as possibl ...
, Christoph Hellwig
, (Tue Jun 15, 3:47 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Christoph Hellwig
, (Tue Jun 15, 3:53 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Nick Piggin
, (Tue Jun 15, 3:55 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Christoph Hellwig
, (Tue Jun 15, 3:57 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Christoph Hellwig
, (Tue Jun 15, 4:01 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Christoph Hellwig
, (Tue Jun 15, 4:08 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Christoph Hellwig
, (Tue Jun 15, 4:10 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Mel Gorman
, (Tue Jun 15, 4:11 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Nick Piggin
, (Tue Jun 15, 4:13 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Nick Piggin
, (Tue Jun 15, 4:20 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Mel Gorman
, (Tue Jun 15, 4:43 am)
Re: [PATCH 0/12] Avoid overflowing of stack during page re ...
, Mel Gorman
, (Tue Jun 15, 4:45 am)
Re: [PATCH 0/12] Avoid overflowing of stack during page re ...
, Mel Gorman
, (Tue Jun 15, 4:49 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, tytso
, (Tue Jun 15, 6:07 am)
Re: [patch] mm: vmscan fix mapping use after free
, Mel Gorman
, (Tue Jun 15, 6:23 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Rik van Riel
, (Tue Jun 15, 6:32 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Mel Gorman
, (Tue Jun 15, 8:44 am)
Re: [PATCH 08/12] vmscan: Setup pagevec as late as possibl ...
, Mel Gorman
, (Tue Jun 15, 8:56 am)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Dave Chinner
, (Tue Jun 15, 4:20 pm)
Re: [PATCH 11/12] vmscan: Write out dirty pages in batch
, Nick Piggin
, (Tue Jun 15, 11:04 pm)
Re: [PATCH 05/12] vmscan: kill prev_priority completely
, Andrew Morton
, (Wed Jun 16, 4:37 pm)
Re: [PATCH 08/12] vmscan: Setup pagevec as late as possibl ...
, Andrew Morton
, (Wed Jun 16, 4:43 pm)
Re: [PATCH 05/12] vmscan: kill prev_priority completely
, Rik van Riel
, (Wed Jun 16, 4:45 pm)
Re: [PATCH 09/12] vmscan: Setup pagevec as late as possibl ...
, Andrew Morton
, (Wed Jun 16, 4:48 pm)
Re: [PATCH 05/12] vmscan: kill prev_priority completely
, Andrew Morton
, (Wed Jun 16, 5:18 pm)
Re: [PATCH 05/12] vmscan: kill prev_priority completely
, Rik van Riel
, (Wed Jun 16, 5:34 pm)
Re: [PATCH 08/12] vmscan: Setup pagevec as late as possibl ...
, Mel Gorman
, (Thu Jun 17, 3:30 am)
Re: [PATCH 09/12] vmscan: Setup pagevec as late as possibl ...
, Mel Gorman
, (Thu Jun 17, 3:46 am)
Re: [PATCH 05/12] vmscan: kill prev_priority completely
, KOSAKI Motohiro
, (Fri Jun 25, 1:29 am)
Re: [PATCH 05/12] vmscan: kill prev_priority completely
, Mel Gorman
, (Mon Jun 28, 3:35 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate