Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 26 Oct 2002 02:21:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 26 Oct 2002 02:21:08 -0400 Received: from ns.suse.de ([213.95.15.193]:31245 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id ; Sat, 26 Oct 2002 02:21:08 -0400 Date: Sat, 26 Oct 2002 08:27:23 +0200 From: Andi Kleen To: "Nakajima, Jun" Cc: Andi Kleen , "David S. Miller" , torvalds@transmeta.com, linux-kernel@vger.kernel.org, "Mallick, Asit K" , "Saxena, Sunil" Subject: Re: [PATCH] fixes for building kernel using Intel compiler (lmben ch data) Message-ID: <20021026082723.C23915@wotan.suse.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1499 Lines: 29 On Fri, Oct 25, 2002 at 07:16:49PM -0700, Nakajima, Jun wrote: > pgoipo -- P70 + PGO (profile-guided optimization) + IPO (interprocedural > optimization) That is interesting. I assume you built a custom profiling driver for this. One problem I see is that profile feedback will make the kernel images much less predictible. Currently we need a vmlinux that matches the built kernel to analyze any oopses etc. When there are small changes (bugfixes etc.) the functions are still near enough that an oops can be meaningfully looked at. But with profile based feedback this could completely change - at least in gcc the profile feedback data has to exactly match the compiled program. Now when I would change a single line I would need to reprofile and then the resulting kernel could be totally different with every single instruction changed, making it impossible to make any sense out of a ksymoops. This could be a major problem for bug processing on linux-kernel because the chances are small that I look at a vmlinux that is in any way related to what the user has. One way around would be to switch to lkcd crash images which include all kernel code, but it could be a major problem to send them to a mailing list because they're so big. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/