Re: How to safely reduce stack usage in nfs code?

From: Arjan van de Ven
Date: Fri Oct 29 2004 - 04:03:30 EST


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

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