Nov 30, 2009, 9:53:33 PM11/30/09
to Ralf Baechle, loongson-dev, Zhang Le, Liu Shiwei, Michael Heide, Robert Millan, Tatu Kilappa, trilkk
On Mon, 2009-11-30 at 22:07 +0000, Ralf Baechle wrote:
> On Mon, Nov 30, 2009 at 05:48:50PM +0800, Wu Zhangjin wrote:
> > 1. please do not try PAGE_SIZE_4KB, it not work on Loongson Family
> > machines.
> Please remind me, what are the unsolved issues with 4k page size?
Not focused on the details yet, currently, with 4k page size, it will
hang on executing the init program when booting the kernel:
VFS: Mounted root(ext3 filesystem) readonly on device 3:1
Freeing unused kernel memory: 180k freed.
Kernel panic - not syncing: Attempted to kill init!
the possible reason is the cache aliases problem.
As we know, loongson have 64kb size 4 way L1 cache, Way_size = 64k/4 =
16 > 4k Page Size, so, it may have the cache aliase problem. but with
16kb page size, it will have no such problem, and also, it will bring us
with some performance for it have no need to avoid the cache aliases
problem via extra cache flushing.
So, 16kb is recommended, but I will try to ensure the 4k page size works
if it is necessary to make it work.