[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <p73k630cq6u.fsf@verdi.suse.de>
Date: 16 Oct 2006 16:04:25 +0200
From: Andi Kleen <ak@...e.de>
To: "bibo,mao" <bibo.mao@...el.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] IA32 move PG0 page table within kernel data segment
"bibo,mao" <bibo.mao@...el.com> writes:
> Hi,
> On i386 kernel image can compile and run at any physical address,kernel
> will dynamically establish initial page table at PG0. Currently PG0 address
> is adjacent to _end, that is to say PG0 page table is out of kernel data segment.
> Some bootloader put initrd image next kernel data segment so that initial
> page table will overwrite initrd imagte. This patch modify this and put PG0
> table at BSS segment and free this space later.
> This patch limited kernel image size within 64M, it is possible to modify
> ld script to remove this limit, but I am not familiar with ld script.
>
> Any comments is welcome.
Looks like a fragile hack. x86-64 has a imho cleaner generic solution
in e820_find_area(). I would suggest to port that over.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists