[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [MiNT] MiNTlibs question



> On Wed, Apr 28, 1999 at 03:02:48PM +0200, Thomas Binder wrote:
> > I would opt to, though I'm not familar with the internals, either. But I
> > can't imagine there are negative side effects if there's already a
> > possibility to change it. Also, losing half of the available block for
> > each call to Malloc() with active memory protection seems to be a much
> > more negative "side effect" of the default 4k.
>
> Right.
>
> Is it possible to qrery the pagesize that the kernel currently
> uses, and use
> that as a blocksize for malloc()?
>
> That way, no changes to Mintlib would be required when changing the kernel
> for some reason.

You can use Dfree to get the block size on u:\proc.