re: Whizzy New Feature: Paged segmented memory

Jacques Gelinas (jack@solucorp.qc.ca)
Mon, 7 Jan 2002 22:45:25 -0500


On Sun, 6 Jan 2002 14:14:30 -0500, Marcin Tustin wrote
>
> Any comments on how useful it would be to have paged, segmented,
> memory support for Pentium? I was thinking that by having separate
> segments for text, stack, and heap, buffer overrun exploits would be
> eliminated (I'm aware that this would require GCC patching as well).
> Obviously, I'm thinking that I (and any similar fools I could rope
> in) would try this (Probably delivering for a kernel at least a year out
> of date by the time we had a patch).

Another solution would be to have two stacks. One for variable (auto data)
and one for program execution (call). Beside cache effect, this would provide
mostly the same performance as we get now. Just wondering if someone had
toyed with this idea.

---------------------------------------------------------
Jacques Gelinas <jack@solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc
-
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/