ucLinux/ARM nommu/PAGE_OFFSET?

Hello,

According to a test in mmnommu/page_alloc.c, PAGE_OFFSET must be a multiple of

512*4K=2MB. If this is not the case, the code display the following message: "BUG: wrong zone alignment, it will crash"

Why there is such a limitation? Is this limitation really mandatory.

Also, it seems the VMALLOC_START (at least for armnommu port) is allocated

8 MB above PAGE_OFFSET.

Is this mandatory too, or can this VMALLOC offset be reduced?

(I have only 16 MB of memory so this 8 MB stuff is really to much for me).

At last, with 16 MB of memort, what would be an "optimal" value for PAGE_OFFSET?

Thanks in advance for any answer

--

---------------------------------------------------------------------
Francois Menneteau - Software Engineer, MIPSYS
Technoparc du Griffon - Bat 10
511, route de la Seds
13127 Vitrolles
Tel: +33 (0)4 42 46 77 50 - Fax: +33 (0)4 42 46 77 59
Email: fmenneteau@mipsys.com
Reply to
Francois Menneteau
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.