Re: [uClinux-dev] page_alloc2 or page_alloc

From: David McCullough (davidm@snapgear.com)
Date: Sun Sep 15 2002 - 21:42:16 EDT


Jivin Thomas Chen lays it down ...
> which one is supposed to be used???  for nommu type of system??? what
> are
> the difference??? i saw the header comment that page_alloc2 is attempt
> to be
> better, but my config is still using page_alloc, is this right?

You can use either and it depends on your reasons:

	page_alloc2 does not use power of 2 allocations,  which can save you a
	lot of memory,  however,  it is a little slower because it has to search
	for contiguous free blocks.

Follow the link in this article on uCdot to get some more information about
the different allocs and how they affect user programs:

	http://www.ucdot.org/article.pl?sid=02/08/28/058213

Cheers,
Davidm

-- 
David McCullough:    Ph: +61 7 3435 2815  http://www.SnapGear.com
davidm@snapgear.com  Fx: +61 7 3891 3630  Custom Embedded Solutions + Security
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:21:52 EDT