Skip to content

activate pages in batch

Johannes Weiner linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3swap: use an array for all pagevecsinclude/linux/pagevec.h mm/swap.c+14 -80 replies
2/3swap: refactor pagevec flushinginclude/linux/pagevec.h mm/swap.c+66 -683 replies
3/3swap: cache page activationinclude/linux/pagevec.h mm/swap.c+47 -340 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/3] activate pages in batch

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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>