Brian Stecher
03/06/2008 8:21 AM
post5576
|
On Wed, Mar 05, 2008 at 11:16:54PM -0500, Mario Charest wrote:
> > Mario Charest wrote:
> > > > The future proof (and POSIX) way of doing ANY restriction of ram
> > > allocation
> > > > is the posix typed memory interface. The old MAP_* flags are kinda
> > > hokey,
> > > > and had lots of 'hacks' to make things like this work.
> > > >
> > > > You are supposed to setup the relevant regions in startup. Now
I've
> > > mentioned
> > > >
> > > > to people before we need to have these defined BEFORE the 6.4
release...
> > > >
>
> Are these "regions" related to the new memory partition scheme?
The partitioning code can impose a limit on the amount of memory a
process can allocate from one of these typed memory names, but the use
of typed memory names to require allocation from a certain physical address
range is not dependent on the partitioning code being present in the system.
--
Brian Stecher (bstecher@qnx.com) QNX Software Systems
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8
|
|
|