Port-m68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Address space limit?



tsutsui%ceres.dti.ne.jp@localhost (Izumi Tsutsui) writes:

>christos@ wrote:
>> 1. I think this might break existing binaries that use jemalloc because:
>> bool
>> pages_boot(void) {
>>         os_page = os_page_detect();
>>         if (os_page > PAGE) {
>> 		boom.

>Hmm. If the different PGSHIFT causes any problem,
>it has already been broken because several m68k ports
>have used 8kB page:

As long as os_page_detect() and PAGE agree, there is no problem.

os_page_detect() gets the value via sysconf(_SC_PAGESIZE).
PAGE is derived from the PAGE_SHIFT value in vmparam.h


-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index