[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] MiNTlibs question
- To: MiNT mailing list <mint@fishpool.com>
- Subject: Re: [MiNT] MiNTlibs question
- From: "Guido Flohr" <gufl0000@stud.uni-sb.de>
- Date: Mon, 3 May 1999 00:42:52 +0200
- In-reply-to: <vyzn1zqqwqq.fsf@issan.cs.uni-dortmund.de>; from Andreas Schwab on Fri, Apr 30, 1999 at 11:32:45AM +0200
- Mail-followup-to: MiNT mailing list <mint@fishpool.com>
- References: <19990424230014Z49677-4836+1049@sabre-wulf.nvg.ntnu.no> <19990425042709.B420@zowee.rz.uni-sb.de> <19990425141437.A14837@hrzpub.tu-darmstadt.de> <19990426034531.B277@zowee.rz.uni-sb.de> <19990427031433.A25451@hrzpub.tu-darmstadt.de> <19990427040352.B489@zowee.rz.uni-sb.de> <19990428150248.A23711@hrzpub.tu-darmstadt.de> <19990428190322.A629@tubul.dascon.de> <vyzn1zqqwqq.fsf@issan.cs.uni-dortmund.de>
- Sender: owner-mint@fishpool.com
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