[Top] [All Lists]

Re: 16K page size?

To: Jun Sun <>
Subject: Re: 16K page size?
From: Ralf Baechle <>
Date: Wed, 18 Oct 2000 03:30:02 +0200
In-reply-to: <>; from on Tue, Oct 17, 2000 at 11:18:28PM -0700
References: <>
On Tue, Oct 17, 2000 at 11:18:28PM -0700, Jun Sun wrote:

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


<Prev in Thread] Current Thread [Next in Thread>