[PATCH 28/29] nfs: enable swap on NFS

2007-12-14 Thread Peter Zijlstra
Implement all the new swapfile a_ops for NFS. This will set the NFS socket to SOCK_MEMALLOC and run socket reconnect under PF_MEMALLOC as well as reset SOCK_MEMALLOC before engaging the protocol ->connect() method. PF_MEMALLOC should allow the allocation of struct socket and related objects and

[PATCH 28/29] nfs: enable swap on NFS

2007-12-14 Thread Peter Zijlstra
Implement all the new swapfile a_ops for NFS. This will set the NFS socket to SOCK_MEMALLOC and run socket reconnect under PF_MEMALLOC as well as reset SOCK_MEMALLOC before engaging the protocol -connect() method. PF_MEMALLOC should allow the allocation of struct socket and related objects and

[PATCH 28/29] nfs: enable swap on NFS

2007-02-21 Thread Peter Zijlstra
Provide an ops->swapfile() implementation for NFS. This will set the NFS socket to SOCK_VMIO and run socket reconnect under PF_MEMALLOC as well as reset SOCK_VMIO before engaging the protocol ->connect() method. PF_MEMALLOC should allow the allocation of struct socket and related objects and the

[PATCH 28/29] nfs: enable swap on NFS

2007-02-21 Thread Peter Zijlstra
Provide an ops-swapfile() implementation for NFS. This will set the NFS socket to SOCK_VMIO and run socket reconnect under PF_MEMALLOC as well as reset SOCK_VMIO before engaging the protocol -connect() method. PF_MEMALLOC should allow the allocation of struct socket and related objects and the