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

Re: [MiNT] MiNTlibs question



On Fri, Apr 30, 1999 at 11:32:45AM +0200, Andreas Schwab wrote:
> Michael Schwingen <rincewind@discworld.dascon.de> writes:
> 
> |> Is it possible to qrery the pagesize that the kernel currently uses, and use
> |> that as a blocksize for malloc()?
> 
> Call Dfree() on /proc, the third long is the page size.  See getpagesize
> in the library.

I currently have set the default chunksize to 8k in malloc.c, no problems
so far.

Julian (or whoever ...), what would be a reasonable chunksize for MagiC?

Ciao

Guido
-- 
http://stud.uni-sb.de/~gufl0000
mailto:gufl0000@stud.uni-sb.de