RFC swap over nfs -v21
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest30 patches 6 repliesIn review
Changes since v20 from the cover letter
- rebased to mmotm-2010-07-01
- dropped the null pointer deref patch for the root cause is wrong SWP_FILE enum
- some minor build fixes
- fix a null pointer deref with mmotm-2010-07-01
- fix a bug when swap with multi files on the same nfs server
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/30 | mm: serialize access to min_free_kbytesmm/ | +13 | 0 replies | |
| 2/30 | Swap over network documentationDocumentation/ | +268 | 0 replies | |
| 3/30 | mm: expose gfp_to_alloc_flags()mm/ mm/ | +16 | 0 replies | |
| 4/30 | mm: tag reseve pagesinclude/ mm/ | +4 | 0 replies | |
| 5/30 | mm: sl[au]b: add knowledge of reserve pagesinclude/ mm/ mm/ +1 more | +104 | 3 replies | |
| 6/30 | mm: kmem_alloc_estimate()include/ mm/ mm/ +1 more | +233 | 0 replies | |
| 7/30 | mm: allow PF_MEMALLOC from softirq contextinclude/ kernel/ mm/ | +14 | 0 replies | |
| 8/30 | mm: emergency poolinclude/ mm/ mm/ | +80 | 0 replies | |
| 9/30 | mm: system wide ALLOC_NO_WATERMARKmm/ | +5 | 0 replies | |
| 10/30 | mm: __GFP_MEMALLOCinclude/ mm/ | +5 | 0 replies | |
| 11/30 | mm: memory reserve managementinclude/ include/ mm/ +2 more | +851 | 0 replies | |
| 12/30 | selinux: tag avc cache alloc as non-criticalsecurity/ | +1 | 2 replies | |
| 13/30 | net: packet split receive apidrivers/ drivers/ drivers/ +2 more | +18 | 0 replies | |
| 14/30 | net: sk_allocation() - concentrate socket related allocationsinclude/ include/ net/ +2 more | +27 | 0 replies | |
| 15/30 | netvm: network reserve infrastructureinclude/ net/ net/ | +152 | 0 replies | |
| 16/30 | netvm: INET reservesinclude/ include/ net/ +4 more | +186 | 0 replies | |
| 17/30 | netvm: hook skb allocation to reservesinclude/ include/ net/ | +133 | 0 replies | |
| 18/30 | netvm: filter emergency skbsnet/ | +3 | 0 replies | |
| 19/30 | netvm: prevent a stream specific deadlockinclude/ net/ net/ +1 more | +12 | 0 replies | |
| 20/30 | netfilter: NF_QUEUE vs emergency skbsnet/ | +3 | 0 replies | |
| 21/30 | netvm: skb processinginclude/ net/ net/ | +72 | 0 replies | |
| 22/30 | mm: add support for non block device backed swap filesDocumentation/ Documentation/ include/ +5 more | +144 | 0 replies | |
| 23/30 | mm: methods for teaching filesystems about PG_swapcache pagesinclude/ include/ mm/ | +49 | 0 replies | |
| 24/30 | nfs: teach the NFS client how to treat PG_swapcache pagesfs/ fs/ fs/ +5 more | +50 | 0 replies | |
| 25/30 | nfs: disable data cache revalidation for swapfilesfs/ fs/ | +63 | 0 replies | |
| 26/30 | nfs: enable swap on NFSfs/ fs/ fs/ +6 more | +137 | 0 replies | |
| 27/30 | nfs: fix various memory recursions possible with swap over NFSfs/ fs/ | +4 | 0 replies | |
| 28/30 | build fix for skb_emergency_protocolnet/ | +24 | 0 replies | |
| 29/30 | fix null pointer deref in swap_entry_freemm/ | +5 | 0 replies | |
| 30/30 | fix mess up on swap with multi files from same nfs serverinclude/ net/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH -mmotm 00/30] [RFC] swap over nfs -v21
Hi,
Here's the latest version of swap over NFS series since -v20 last October. We decide to push this feature as it is useful for NAS or virt environment.
The patches are against the mmotm-2010-07-01. We can split the patchset into following parts:
Patch 1 - 12: provides a generic reserve framework. This framework could also be used to get rid of some of the __GFP_NOFAIL users.
Patch 13 - 15: Provide some generic network infrastructure needed later on.
Patch 16 - 21: reserve a little pool to act as a receive buffer, this allows us to inspect packets before tossing them.
Patch 22 - 23: Generic vm infrastructure to handle swapping to a filesystem instead of a block device.
Patch 24 - 27: convert NFS to make use of the new network and vm infrastructure to provide swap over NFS.
Patch 28 - 30: minor bug fixing with latest -mmotm.
[some history]
v19: http://lwn.net/Articles/301915/
v20: http://lwn.net/Articles/355350/
Changes since v20:
- rebased to mmotm-2010-07-01
- dropped the null pointer deref patch for the root cause is wrong SWP_FILE enum
- some minor build fixes
- fix a null pointer deref with mmotm-2010-07-01
- fix a bug when swap with multi files on the same nfs server
Regards
Xiaotian
--
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>