[Top] [All Lists]

Re: [PATCH] mm/pg-r4k.c: Dump the generated code

To: "Maciej W. Rozycki" <>
Subject: Re: [PATCH] mm/pg-r4k.c: Dump the generated code
From: Franck Bui-Huu <>
Date: Tue, 09 Oct 2007 22:17:56 +0200
Cc: Ralf Baechle <>, Thiemo Seufer <>,
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=rIwpyXM1p+lsUdds5T3eihybHiUr7fN5fzLPfuEWi3c=; b=Pq/gD/oddRuHqT9MLDg9d7UpSxsaY0eyMKHgzaKMuAzl66XdHq+JKrEhejNKK03nkVDVnKKUgfC5OosLkgnbnxkBaF/Na+a3sPht9gSCFzbOHmwmD+dfev60gntbNeTOn14ZOCzFDDacOsPq6tHBn8Xcrx4bxVkbUR+daum3y64=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=l54EMSsYdEDJZJxqaXcPjzt47Fto/Czqsc55au8x7/x+tVvtnjQjjr9tKtLZhrwV4reZDGB22OuTBxKb6J5Ygt2vZLM78YbszkriSj4uWzpfZSoX96nqEtVoDuLCbitmrxTEle4AXbgrhGWLqqWwsQWxWHqRDSs69BHHku2/D+4=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <> <> <> <> <> <> <> <> <> <> <> <>
User-agent: Thunderbird (X11/20070719)
Maciej W. Rozycki wrote:
>  What would be the gain for the kernel from using "-march=4ksd" rather 
> than "-march=mips32r2"?

It actually results in a kernel image ~30kbytes smaller for the former
case. It has been discussed sometimes ago on this list. I'm sorry but
I don't know why...

>  What if you want to run a single kernel image regardless of the CPU 
> installed in the system.  Rebuilding the kernel (or having to keep a large 
> collection of binaries) just because you want to swap the CPU does not 
> seem like a terribly attractive idea.  Some systems come with their CPU(s) 
> on a daughtercard (each), you know...

ok, I wasn't aware about this. You could have started by this point ;)

So now I think the right direction is to stick with tlbex.c and
make it smaller like Ralf did.


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