linux-mips
[Top] [All Lists]

Re: [PATCH] added Loongson cpu-feature-overrides.h

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH] added Loongson cpu-feature-overrides.h
From: Zhang Le <r0bertz@gentoo.org>
Date: Thu, 2 Apr 2009 19:27:39 +0800
Cc: linux-mips@linux-mips.org
In-reply-to: <20090402111607.GB1678@linux-mips.org>
Mail-followup-to: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1238658105-23260-1-git-send-email-r0bertz@gentoo.org> <20090402111607.GB1678@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.19 (2009-01-05)
On 13:16 Thu 02 Apr     , Ralf Baechle wrote:
> On Thu, Apr 02, 2009 at 03:41:45PM +0800, Zhang Le wrote:
> 
> > I have taken Wu Zhangjin's and Philippe Vachon's version as references, did 
> > a
> > little modification and tested on 16K page size kernel. It works well.
> > 
> > Unfornately although it already has defined cpu_has_dc_aliases as 1, 4k page
> > size still not working. More work needed here.
> 
> Adding this file is only a matter of kernel optimization.  You may have
> saved as much as several hundred kb!  But it won't get a kernel
> that wasn't working before to work.  If anything the opposite ...

I see. Thanks.
BTW, I have just made another little change:

#define cpu_has_dc_aliases      (PAGE_SIZE < 0x4000)

Since waysize is 16k.

Anyway, it is good to include this file now, or postpone it a little later?
If yes, then I will send a new version soon.

Zhang, Le

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