Re: [NFS] Re: [PATCH v2] reduce NFS stack usage

From: Trond Myklebust
Date: Thu Sep 25 2003 - 14:38:30 EST


>>>>> " " == Steve Dickson <SteveD@xxxxxxxxxx> writes:

> Also, not like there much choice in matter, but I wonder what
> type of performance hit (if any) there will be by making these
> routines call kmalloc()... lookups and readdirs are pretty
> popular ops...

There are always alternatives...

If really this is a problem, how about slabifying the structs
nfs_fattr and/or nfs_fh?

Also, since nfs_entry is only large due to the fh and fattr fields
which are unused unless you have READDIRPLUS (in which case they are
converted to pointers anyhow), how about kicking them out of
nfs_entry altogether?

Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/