Re: Address space limit?

[email protected] (Christos Zoulas)
Newsgroups gmane.os.netbsd.ports.m68k,gmane.os.netbsd.ports.hp300
Organization Astron Software
Message-ID <[email protected]>
On Jun 7, 11:29pm, [email protected] (Izumi Tsutsui) wrote:
-- Subject: Re: Address space limit?

| Hmm. If the different PGSHIFT causes any problem,
| it has already been broken because several m68k ports
| have used 8kB page:
| 
| ---
| sys/arch/amiga/include/param.h:#define	PGSHIFT		13		/* LOG2(NBPG) */
| sys/arch/atari/include/param.h:#define	PGSHIFT		13		/* LOG2(NBPG) */
| sys/arch/cesfic/include/param.h:#define	PGSHIFT		12		/* LOG2(NBPG) */
| sys/arch/hp300/include/param.h:#define	PGSHIFT		12		/* LOG2(NBPG) */
| sys/arch/luna68k/include/param.h:#define PGSHIFT		12		/* LOG2(NBPG) */
| sys/arch/mac68k/include/param.h:#define	PGSHIFT		13		/* LOG2(NBPG) */
| sys/arch/mvme68k/include/param.h:#define	PGSHIFT		12		/* LOG2(NBPG) */
| sys/arch/news68k/include/param.h:#define	PGSHIFT		13		/* LOG2(NBPG) */
| sys/arch/next68k/include/param.h:#define	PGSHIFT		12		/* LOG2(NBPG) */
| sys/arch/sun3/include/param.h:#define	PGSHIFT		13		/* LOG2(NBPG) */
| sys/arch/x68k/include/param.h:#define	PGSHIFT		12		/* LOG2(NBPG) */
| ---
| 
| Maybe newer jemalloc should be fixed like sparc port,
| which has both 4k (sun4c/sun4m) and 8k (sun4)?

Yes, this is exactly what I was thinking... So what happens is that
probably old binaries (with new jemalloc) might not work with the new kernel?
Would be nice if the m68 headers were shared a bit more but too late now.

| > 2. There is a comment in vmparam.h about 4K pages..
| 
| Ah, it's leftover of hp300 copies.
| It should be "4K or 8K page, chosen by PGSHIFT in param.h" or so..

Right :-)

Best,

christos
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.