Re: kernel stack challenge

From: David Weinehall
Date: Wed Apr 07 2004 - 03:58:59 EST


On Tue, Apr 06, 2004 at 06:34:50PM -0700, Sergiy Lozovsky wrote:
>
> --- Horst von Brand <vonbrand@xxxxxxxxxxxx> wrote:
> > Sergiy Lozovsky <serge_lozovsky@xxxxxxxxx> said:
> >
> > Why do you think it has been 2 pages (8KiB) for as
> > long as I remember
> > (essentially forever in Linux), and it has taken a
> > _lot_ of work to shrink
> > it to 4KiB (- size of *current)?
>
> I described the possible solution (virtual stack)
> which can easily take care of this problem for some
> subsystems, or am I wrong. If code doesn't allocate
> big buffers in stack my solution can make conversion
> of existing code possible without _lot_ of work. (I'm
> lazy - remember :-)

You know, to me the combination of lazy programmer rhymes poorly with
well-written code and security audits.

> What do you think about my solution? Despite some
> additional overhead, but I don't think that it is
> significant.

Personally, I think this proposal would be worthy for the
patch-of-the-month award.


Regards: David Weinehall
--
/) David Weinehall <tao@xxxxxxxxxx> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/
-
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/