On 2015-06-05 09:30, [email protected] wrote:
> Dear sir:
>     I believe that it will work well on other 256mb memory board .
> 
>     But FireWRT has 512mb memory .
>     I am confuse that enable HIGHMEM is not for using 512mb memory ? 
I'm running my code on the FireWRT board with 512M.
I ran memtester with 465M (biggest mmap it could do without causing OOM).

>     Why enable HIGHMEM without using long jump .
kmalloc will only return allocations from low-memory space. As long as
the first 256M are low-mem and the second 256M are high-mem, no
long-jump is needed.

I have another idea for adjusting the code to the memory map you
provided without using long-jump. I'm going to change the highmem start
offset from 0x20000000 to 0x10000000, that way module allocations will
always fit in the 256M boundary.

- Felix
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to