Re: How to safely reduce stack usage in nfs code?
From: Trond Myklebust
Date: Fri Oct 29 2004 - 09:29:24 EST
fr den 29.10.2004 Klokka 11:01 (+0200) skreiv Arjan van de Ven:
> On Fri, 2004-10-29 at 00:20 +0300, Denis Vlasenko wrote:
>
> > I can convert these into kmalloc'ed variants but hesitate to do so
> > because of possible 'need to kmalloc in order to free memory for kmalloc'
> > deadlocks.
>
> how about a memory pool?
>
> It's not THE solution but I suspect the depth of callchains of these isn't too deep so it would work
I can't see that any of the callchains Denis listed can deadlock. None
of them appear to lie in the memory reclaim paths.
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/