Skip to content

Swap over NFS -v18

Peter Zijlstra linux-mm lkml netdev 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest30 patches 42 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/30swap over network documentationDocumentation/network-swap.txt+270 -00 replies
2/30mm: gfp_to_alloc_flags()mm/internal.h mm/page_alloc.c+64 -413 replies
3/30mm: tag reseve pagesinclude/linux/mm_types.h mm/page_alloc.c+4 -10 replies
4/30mm: slub: trivial cleanupsinclude/linux/slub_def.h mm/slub.c+24 -235 replies
5/30mm: slb: add knowledge of reserve pagesinclude/linux/slub_def.h mm/slab.c mm/slub.c+75 -144 replies
6/30mm: kmem_alloc_estimate()include/linux/slab.h mm/slab.c mm/slub.c+166 -03 replies
7/30mm: allow PF_MEMALLOC from softirq contextinclude/linux/sched.h kernel/softirq.c mm/page_alloc.c+14 -30 replies
8/30mm: serialize access to min_free_kbytesmm/page_alloc.c+13 -31 reply
9/30mm: emergency poolinclude/linux/mmzone.h mm/page_alloc.c mm/vmstat.c+82 -140 replies
10/30mm: system wide ALLOC_NO_WATERMARKmm/page_alloc.c+5 -00 replies
11/30mm: __GFP_MEMALLOCinclude/linux/gfp.h mm/page_alloc.c+5 -23 replies
12/30mm: memory reserve managementinclude/linux/reserve.h include/linux/slab.h mm/Makefile +2 more+755 -1113 replies
13/30selinux: tag avc cache alloc as non-criticalsecurity/selinux/avc.c+1 -10 replies
14/30net: wrap sk->sk_backlog_rcv()include/net/sock.h include/net/tcp.h net/core/sock.c +2 more+10 -50 replies
15/30net: packet split receive apidrivers/net/bnx2.c drivers/net/e1000/e1000_main.c drivers/net/e1000e/netdev.c +5 more+61 -390 replies
16/30net: sk_allocation() - concentrate socket related allocationsinclude/net/sock.h net/ipv4/tcp.c net/ipv4/tcp_output.c +1 more+26 -110 replies
17/30netvm: network reserve infrastructureinclude/net/sock.h net/Kconfig net/core/sock.c+152 -10 replies
18/30netvm: INET reserves.include/net/inet_frag.h include/net/netns/ipv6.h net/ipv4/inet_fragment.c +5 more+341 -82 replies
19/30netvm: hook skb allocation to reservesinclude/linux/mm_types.h include/linux/skbuff.h net/core/skbuff.c+124 -310 replies
20/30netvm: filter emergency skbs.net/core/filter.c+3 -00 replies
21/30netvm: prevent a stream specific deadlockinclude/net/sock.h net/core/sock.c net/ipv4/tcp_input.c +1 more+12 -110 replies
22/30netfilter: NF_QUEUE vs emergency skbsnet/netfilter/core.c+3 -00 replies
23/30netvm: skb processinginclude/net/sock.h net/core/dev.c net/core/sock.c+74 -60 replies
24/30mm: add support for non block device backed swap filesDocumentation/filesystems/Locking Documentation/filesystems/vfs.txt include/linux/buffer_head.h +5 more+137 -60 replies
25/30mm: methods for teaching filesystems about PG_swapcache pagesinclude/linux/mm.h include/linux/pagemap.h mm/swapfile.c+49 -00 replies
26/30nfs: remove mempoolsfs/nfs/read.c fs/nfs/write.c+8 -342 replies
27/30nfs: teach the NFS client how to treat PG_swapcache pagesfs/nfs/file.c fs/nfs/internal.h fs/nfs/pagelist.c +2 more+40 -380 replies
28/30nfs: disable data cache revalidation for swapfilesfs/nfs/inode.c fs/nfs/write.c+64 -130 replies
29/30nfs: enable swap on NFSfs/Kconfig fs/nfs/file.c fs/nfs/write.c +4 more+143 -30 replies
30/30nfs: fix various memory recursions possible with swap over NFS.fs/nfs/pagelist.c fs/nfs/write.c+4 -44 replies

Reviews trailers per patch

3 of 30 patches have a Reviewed-by or Acked-by.

PatchJames MorrisPekka Enberg
1/30
2/30
3/30
4/30R-b
5/30
6/30
7/30
8/30R-b
9/30
10/30
11/30
12/30
13/30A-b
14/30
15/30
16/30
17/30
18/30
19/30
20/30
21/30
22/30
23/30
24/30
25/30
26/30
27/30
28/30
29/30
30/30

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/30] Swap over NFS -v18

Latest version of the swap over nfs work.

Patches are against: v2.6.26-rc8-mm1

I still need to write some more comments in the reservation code.

Pekka, it uses ksize(), please have a look.

This version also deals with network namespaces. Two things where I could do with some suggestsion:

- currently the sysctl code uses current->nrproxy.net_ns to obtain the current network namespace

- the ipv6 route cache code has some initialization order issues

Thanks,

Peter - who hopes we can someday merge this - Zijlstra

--

 Documentation/filesystems/Locking |   22 +
 Documentation/filesystems/vfs.txt |   18 +
 Documentation/network-swap.txt    |  270 +++++++++++++++++
 drivers/net/bnx2.c                |    8
 drivers/net/e1000/e1000_main.c    |    8
 drivers/net/e1000e/netdev.c       |    7
 drivers/net/igb/igb_main.c        |    8
 drivers/net/ixgbe/ixgbe_main.c    |   10
 drivers/net/sky2.c                |   16 -
 fs/Kconfig                        |   17 +
 fs/nfs/file.c                     |   24 +
 fs/nfs/inode.c                    |    6
 fs/nfs/internal.h                 |    7
 fs/nfs/pagelist.c                 |    8
 fs/nfs/read.c                     |   21 -
 fs/nfs/write.c                    |  175 +++++++----
 include/linux/buffer_head.h       |    2
 include/linux/fs.h                |    9
 include/linux/gfp.h               |    3
 include/linux/mm.h                |   25 +
 include/linux/mm_types.h          |    2
 include/linux/mmzone.h            |    6
 include/linux/nfs_fs.h            |    2
 include/linux/pagemap.h           |    5
 include/linux/reserve.h           |  146 +++++++++
 include/linux/sched.h             |    7
 include/linux/skbuff.h            |   46 ++
 include/linux/slab.h              |   24 -
 include/linux/slub_def.h          |    8
 include/linux/sunrpc/xprt.h       |    5
 include/linux/swap.h              |    4
 include/net/inet_frag.h           |    7
 include/net/netns/ipv6.h          |    4
 include/net/sock.h                |   63 +++-
 include/net/tcp.h                 |    2
 kernel/softirq.c                  |    3
 mm/Makefile                       |    2
 mm/internal.h                     |   10
 mm/page_alloc.c                   |  207 +++++++++----
 mm/page_io.c                      |   52 +++
 mm/reserve.c                      |  594 ++++++++++++++++++++++++++++++++++++++
 mm/slab.c                         |  135 ++++++++
 mm/slub.c                         |  159 ++++++++--
 mm/swap_state.c                   |    4
 mm/swapfile.c                     |   51 +++
 mm/vmstat.c                       |    6
 net/Kconfig                       |    3
 net/core/dev.c                    |   59 +++
 net/core/filter.c                 |    3
 net/core/skbuff.c                 |  147 +++++++--
 net/core/sock.c                   |  129 ++++++++
 net/ipv4/inet_fragment.c          |    3
 net/ipv4/ip_fragment.c            |   89 +++++
 net/ipv4/route.c                  |   72 ++++
 net/ipv4/tcp.c                    |    5
 net/ipv4/tcp_input.c              |   12
 net/ipv4/tcp_output.c             |   12
 net/ipv4/tcp_timer.c              |    2
 net/ipv6/af_inet6.c               |   20 +
 net/ipv6/reassembly.c             |   88 +++++
 net/ipv6/route.c                  |   66 ++++
 net/ipv6/tcp_ipv6.c               |   17 -
 net/netfilter/core.c              |    3
 net/sctp/ulpevent.c               |    2
 net/sunrpc/sched.c                |    9
 net/sunrpc/xprtsock.c             |   73 ++++
 security/selinux/avc.c            |    2
 67 files changed, 2720 insertions(+), 314 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>