Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: How to safely reduce stack usage in nfs code? | From | Trond Myklebust <> | Date | Fri, 29 Oct 2004 10:20:25 -0400 |
| |
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@fys.uio.no>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |