<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7233.69">
<TITLE>RE: [PATCH] powerpc:Fix rheap alignment problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>From: Pantelis Antoniou<BR>
Sent: Sat 7/1/2006 9:50 AM<BR>
>Since genalloc is the blessed linux thing it might be best to use that & remove<BR>
>rheap completely. Oh well...<BR>
<BR>
Two problems with genalloc that I can see (for CPM programming):<BR>
1) (minor) Does not have a way to specify alignment (genalloc does it for you)<BR>
2) (major problerm, at least for me) Does not have a way to allocate a specified address in the pool.<BR>
<BR>
2 is needed esp when programming MCC drivers, since a lot of the datastructures must be in DP RAM _and_ be in a specific spot. And if you cannot tell the allocator that I am using a specific address, then the allocator might very well give somebody else that portion of RAM. The only solution without a fixed allocator is to allocate ALL memory in the DP RAM and use your own allocator.<BR>
</FONT>
</P>
</BODY>
</HTML>