Hi Markus, Martin,

Markus Franke wrote:
Martin Euredjian schrieb:
As far as I know this is architecture dependent.

Coldfire 5373 or 5329?

Check out the kernel configuration option CONFIG_FORCE_MAX_ZONEORDER. It can be modified on an arch-by-arch basis. If it is not defined <LINUX>/include/linux/mmzone.h set's MAX_ORDER to a default of 11 which gives a maximum allocation size of 2^11 pages which means 8 MB in case of 4 kbyte pages.

Anybody...please correct me if I am wrong.

That is right.

Coldfire doesn't currently change from the default MAX_ORDER of 11.

Be aware though that this is just the largest size unit the
kernel keeps track off. At the time you go to allocate memory
it may not have any units large enough to satisfy a large request.
(Memory fragmentation on non-MMU systems means you generally end
up with very few very large blocks - unless you have a really
large physical RAM size).

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to