Port-m68k archive

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

Re: Address space limit?



On Jun 7, 11:29pm, tsutsui%ceres.dti.ne.jp@localhost (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


Home | Main Index | Thread Index | Old Index