16K page size?
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
Quoted 8 lines · Jun Sun
Has anybody tried that before?
I wonder if it is just as simple as changing
PAGE_SHIFTfrom 12 to 14 ininclude/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
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
^^^^^
i386Quoted 1 line
most of the problems for us.
Ralf
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
^^^^^ i386Quoted 1 line
most of the problems for us.
Ralf
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