linux-mips
[Top] [All Lists]

Re: [PATCH] 16K page size in 32 bit kernel

To: Dajie Tan <jiankemeng@gmail.com>
Subject: Re: [PATCH] 16K page size in 32 bit kernel
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 31 Jul 2007 11:00:27 +0100
Cc: linux-mips <linux-mips@linux-mips.org>
In-reply-to: <20070731130950.GA5540@sw-linux.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070731130950.GA5540@sw-linux.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Tue, Jul 31, 2007 at 05:09:51PM +0400, Dajie Tan wrote:

> 32-bit Kernel for loongson2e currently use 16KB page size to avoid
> cache alias problem.So, the definiton of PGDIR_SHIFT muse be 12+14.
> 
> Using 22 in 16K page size do not lead to a serious problem but the number
> of pages allocated for page table is more than previous. (cat
> /proc/vmstat | grep nr_page_table_pages)
> 
> It's been tested on FuLong mini PC(loongson2e inside).

Looking good, applied.  Thanks!

Did by coincidence any of you try 64K pages with a 32-bit kernel?

  Ralf

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