Skip to content

Vm Pageout Scalability Improvements (V8) - continued

Lee Schermerhorn linux-mm lkml 1 version In review

Get series with b4
b4 am 20080529195030.27159.66161.sendpatchset@lts-notebook

Versions newest first

  1. v1 Latest13 of 25 patches 8 repliesIn review

13 of 25 patches are in this archive. The cover letter announces 25.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
13/25Noreclaim LRU Infrastructureinclude/linux/memcontrol.h include/linux/mm_inline.h include/linux/mmzone.h +11 more+382 -870 replies
14/25Noreclaim LRU Page Statisticsdrivers/base/node.c fs/proc/proc_misc.c mm/memcontrol.c +2 more+36 -10 replies
15/25Ramfs and Ram Disk pages are non-reclaimabledrivers/block/brd.c fs/ramfs/inode.c include/linux/pagemap.h +1 more+41 -00 replies
16/25SHM_LOCKED pages are non-reclaimableinclude/linux/mm.h include/linux/pagemap.h include/linux/swap.h +3 more+136 -120 replies
17/25Mlocked Pages are non-reclaimableinclude/linux/mm.h include/linux/page-flags.h include/linux/rmap.h +10 more+767 -690 replies
18/25Downgrade mmap sem while populating mlocked regionsmm/mlock.c+41 -20 replies
19/25Handle mlocked pages during map, remap, unmapmm/fremap.c mm/internal.h mm/mlock.c +3 more+106 -300 replies
20/25Mlocked Pages statisticsdrivers/base/node.c fs/proc/proc_misc.c include/linux/mmzone.h +3 more+58 -160 replies
21/25Cull non-reclaimable pages in fault pathinclude/linux/swap.h mm/memory.c mm/swap.c+35 -80 replies
22/25Noreclaim and Mlocked pages vm eventsinclude/linux/vmstat.h mm/internal.h mm/mlock.c +2 more+66 -100 replies
23/25Noreclaim LRU scan sysctldrivers/base/node.c include/linux/rmap.h include/linux/swap.h +3 more+196 -20 replies
24/25Mlocked Pages: count attempts to free mlocked pageinclude/linux/vmstat.h mm/internal.h mm/page_alloc.c +1 more+20 -00 replies
25/25Noreclaim LRU and Mlocked Pages DocumentationDocumentation/vm/noreclaim-lru.txt+609 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/25] Vm Pageout Scalability Improvements (V8) - continued

The patches to follow are a continuation of the V8 "VM pageout scalability improvements" series that Rik van Riel posted to LKML on 23May08. These patches apply atop Rik's series with the following overlap:

Patches 13 through 16 replace the corresponding patches in Rik's posting.

Patch 13, the noreclaim lru infrastructure, now includes Kosaki Motohiro's memcontrol enhancements to track nonreclaimable pages.

Patches 14 and 15 are largely unchanged, except for refresh. Includes some minor statistics formatting cleanup.

Patch 16 includes a fix for an potential [unobserved] race condition during SHM_UNLOCK.

---

Additional patches in this series:

Patches 17 through 20 keep mlocked pages off the normal [in]active LRU
lists using the noreclaim lru infrastructure. These patches represent
a fairly significant rework of an RFC patch originally posted by Nick Piggin.

Patches 21 and 22 are optional, but recommended, enhancements to the overall noreclaim series.

Patches 23 and 24 are optional enhancements useful during debug and testing.

Patch 25 is a rather verbose document describing the noreclaim lru infrastructure and the use thereof to keep ramfs, SHM_LOCKED and mlocked pages off the normal LRU lists.

---

The entire stack, including Rik's split lru patches, are holding up very well under stress loads. E.g., ran for over 90+ hours over the weekend on both x86_64 [32GB, 8core] and ia64 [32GB, 16cpu] platforms without error over last weekend.

I think these are ready for a spin in -mm atop Rik's patches.

Lee