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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 02, 2009 at 07:27:39PM +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.

Correct - but this alone doesn't get all 4k or 64k pages to work so how
about we deal with this one later?

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux