Skip to content

RFC Critical Page Pool

Matthew Dobson linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Create Critical Page PoolDocumentation/sysctl/vm.txt include/linux/gfp.h include/linux/mm.h +4 more+192 -14 replies
2/6in_emergency TriggerDocumentation/sysctl/vm.txt include/linux/mm.h include/linux/sysctl.h +2 more+43 -20 replies
3/6Slab Prep: get/return_objectmm/slab.c+40 -372 replies
4/6Slab Prep: slab_destruct()mm/slab.c+19 -72 replies
5/6Slab Prep: Move cache_grow()mm/slab.c+84 -900 replies
6/6Critical Page Pool: Slab Supportmm/slab.c+102 -210 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC][PATCH 0/6] Critical Page Pool

Here is the latest version of the Critical Page Pool patches. Besides bugfixes, I've removed all the slab cleanup work from the series. Also, since one of the main questions about the patch series seems to revolve around how to appropriately size the pool, I've added some basic statistics about the critical page pool, viewable by reading /proc/sys/vm/critical_pages. The code now exports how many pages were requested, how many pages are currently in use, and the maximum number of pages that were ever in use.

The overall purpose of this patch series is to all a system administrator to reserve a number of pages in a 'critical pool' that is set aside for situations when the system is 'in emergency'. It is up to the individual administrator to determine when his/her system is 'in emergency'. This is not meant to (necessarily) anticipate OOM situations, though that is certainly one possible use. The purpose this was originally designed for is to allow the networking code to keep functioning despite the sytem losing its (potentially networked) swap device, and thus temporarily putting the system under exreme memory pressure.

Any comments about the code or the overall design are very welcome. Patches agaist 2.6.15-rc5.

-Matt

--
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>