Re: [RFC] 2.4 and stack reduction patches

From: Badari Pulavarty
Date: Fri Jan 07 2005 - 18:32:01 EST


On Fri, 2005-01-07 at 14:40, Trond Myklebust wrote:
> 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.

Like I mentioned earlier, this patch was done for a distro release
not mainline. I need to look at mainline code.

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

Sure. Will do.

Thanks,
Badari

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