• Trond Myklebust's avatar
    [PATCH] slabify the sunrpc layer · 62f7b27e
    Trond Myklebust authored
    In order to better cope with low memory conditions, add slabs for
    struct rpc_task and 'small' RPC buffers of <= 2k. Protect these using
    mempools.
    
    The only case where we appear to use buffers of > 2k is when
    symlinking, and is due to the fact that the path can be up to 4k in
    length. For the moment, we just use kmalloc(), but it may be worth it
    some time in the near future to convert nfs_symlink() to use pages.
    62f7b27e
clnt.c 22.1 KB