Re: [PATCH] fs/devfs/base.c

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 4 Jun 2001 07:44:50 +0100 (BST)


> - the kernel stack is 4kB, and _nobody_ has the right to eat up a
> noticeable portion of it. It doesn't matter if you "know" your caller

Umm Linus on what platform - its 8K or more on all that I can think of

> Ergo: the simple rule of "don't allocate big structures of the stack" is
> always a good rule, and making excuses for it is bad.

We have a very large number of violators of 1K of stack, and very few of 2K
right now.

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