linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [patch 0/3] activate pages in batch
@ 2008-10-22 22:50 Johannes Weiner
  2008-10-22 22:50 ` [patch 1/3] swap: use an array for all pagevecs Johannes Weiner
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Johannes Weiner @ 2008-10-22 22:50 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Rik van Riel, Peter Zijlstra, linux-mm

Instead of re-acquiring the highly contented LRU lock on every single
page activation, deploy an extra pagevec to do page activation in
batch.

The first patch is just grouping all pagevecs we use into one array
which makes further refactoring easier.

The second patch simplifies the interface for flushing a pagevec to
the proper LRU list.

And finally, the last patch changes page activation to batch-mode.

	Hannes

 include/linux/pagevec.h |   21 +++-
 mm/swap.c               |  216 ++++++++++++++++++++++++------------------------
 2 files changed, 127 insertions(+), 110 deletions(-)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-10-27 12:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-22 22:50 [patch 0/3] activate pages in batch Johannes Weiner
2008-10-22 22:50 ` [patch 1/3] swap: use an array for all pagevecs Johannes Weiner
2008-10-22 22:50 ` [patch 2/3] swap: refactor pagevec flushing Johannes Weiner
2008-10-27  6:50   ` Andrew Morton
2008-10-27  8:08     ` Johannes Weiner
2008-10-27 12:18       ` [patch 2/3 v2] " Johannes Weiner
2008-10-22 22:50 ` [patch 3/3] swap: cache page activation Johannes Weiner
2008-10-23  1:41 ` [patch 0/3] activate pages in batch KOSAKI Motohiro
2008-10-23  2:00   ` Johannes Weiner
2008-10-23  2:10     ` KOSAKI Motohiro
2008-10-23 16:21       ` Johannes Weiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox