Re: [RFC] 2.4 and stack reduction patches

From: Trond Myklebust
Date: Sat Jan 08 2005 - 23:11:12 EST


fr den 07.01.2005 Klokka 16:55 (-0800) skreiv Badari Pulavarty:
> On Fri, 2005-01-07 at 14:40, Trond Myklebust wrote:
>
> >
> > You're better off using rpc_new_task() in rpc_call_sync(): no kfree()
> > required, and no rpc_init_task() required.
> >
>
> Hmm.. I am trying to do this. Just wanted to double check.
>
> If I don't do kfree(), its gets automatically freed up thro
> rpc_release_task() correct ?

Yes.

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