Proposed addition of malloc_size_np()

Poul-Henning Kamp phk at
Tue Mar 28 11:12:05 UTC 2006

In message <20060328105833.GE87799 at gurney.reilly.home>, Andrew Reilly writes:
>On Tue, Mar 28, 2006 at 12:39:06PM +0200, Poul-Henning Kamp wrote:
>> Nope, not even close.
>> What Recursiv did was novel in that the objects lived in hardware
>> and microcode, there were no way to overrun an array, because you
>> simply couldn't index it outside it's bounds.  Not even in the
>> operating system.
>How is that different from all of the preceding segmented
>machines like (to quote your .sig) the Z8001+MMU?

On segmented architectures, all the way back, you put multiple
objects in one segment.

The traditional UNIX way had two or three segments, all of the code
in one and all of the data (+/- the stack) in another.

What Rekursiv did was to put each single variable or object
in its own segment.

	int i;
	int j;

would take two objects (or segments if you like).

This is not merely segmentation, this is object oriented memory.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the freebsd-arch mailing list