Re: Address space limit?

[email protected] (Michael van Elst)
Newsgroups gmane.os.netbsd.ports.m68k
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] (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: [email protected]
                                "A potential Snark may lurk in every tree."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.