[Top] [All Lists]

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

To: Ralf Baechle <>
Subject: Re: [PATCH] added Loongson cpu-feature-overrides.h
From: Zhang Le <>
Date: Thu, 2 Apr 2009 19:27:39 +0800
In-reply-to: <>
Mail-followup-to: Ralf Baechle <>,
Original-recipient: rfc822;
References: <> <>
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>