Skip to contentSkip to conversation

16K page size?

DISCUSSION Jun Sun 3 participants 5 messages Oct 17, 2000 – Oct 19, 2000 MIPS

lore
Share & tools
lore

Jun Sun

author
#0 lore raw

Has anybody tried that before?

I wonder if it is just as simple as changing PAGE_SHIFT from 12 to 14 in include/asm-mips/page.h.

I remember I have seen many places in kernel and drivers that assume 4k page size (perhaps minimum 4k page size in reality.) What about glibc? Does it assume any page size?

Thanks.

Jun

#1 lore raw
Quoted 8 lines · Jun Sun

Has anybody tried that before?

I wonder if it is just as simple as changing PAGE_SHIFT from 12 to 14 in include/asm-mips/page.h.

I remember I have seen many places in kernel and drivers that assume 4k page size (perhaps minimum 4k page size in reality.) What about glibc? Does it assume any page size?

Most applications probably use the getpagesize() function, so they should be fine. libc itself should also be clean.

In the kernel we don't handle this properly yet. There are also some optimizations which are possible for larger page sizes. IA64 already has a larger pagesize than Intel, so I hope they have already solve most of the problems for us.

Ralf

#2 lore raw
Quoted 6 lines · Ralf Baechle

Most applications probably use the getpagesize() function, so they should be fine. libc itself should also be clean.

In the kernel we don't handle this properly yet. There are also some optimizations which are possible for larger page sizes. IA64 already has a larger pagesize than Intel, so I hope they have already solve

                             ^^^^^
                             i386
Quoted 1 line

most of the problems for us.

Ralf

#3 lore raw

shouldn't most things be safe since alpha uses 8k pages?

Scott

Quoted 14 lines · Ralf Baechle
Quoted 6 lines · Ralf Baechle

Most applications probably use the getpagesize() function, so they should be fine. libc itself should also be clean.

In the kernel we don't handle this properly yet. There are also some optimizations which are possible for larger page sizes. IA64 already has a larger pagesize than Intel, so I hope they have already solve

                             ^^^^^
                             i386
Quoted 1 line

most of the problems for us.

Ralf

#4 lore raw
Quoted 1 line · Scott Venier

shouldn't most things be safe since alpha uses 8k pages?

I've seen places which had #ifdef __alpha__ instead of conditionals on the pagesize ...

Ralf