Re: [RFC] 2.4 and stack reduction patches

From: Trond Myklebust
Date: Fri Jan 07 2005 - 17:50:23 EST


fr den 07.01.2005 Klokka 13:42 (-0800) skreiv Badari Pulavarty:

> Here are the changes and savings.
>
> do_execve 320
> number 100
> nfs_lookup 184
> nfs_cached_lookup 88
> __revalidate_inode 112
> rpc_call_sync 144
> xprt_sendmsg 120

There is no nfs_cached_lookup() in the mainline 2.4 tree. That is part
of the READDIRPLUS code, and was therefore never merged.

You're better off using rpc_new_task() in rpc_call_sync(): no kfree()
required, and no rpc_init_task() required.

Cheers,
Trond

--
Trond Myklebust <trond.myklebust@xxxxxxxxxx>

-
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/