Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754886Ab1DDPkT (ORCPT ); Mon, 4 Apr 2011 11:40:19 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:39457 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754628Ab1DDPkR (ORCPT ); Mon, 4 Apr 2011 11:40:17 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=g2uQXcs2Fke9So+8A1UH0mmDXsRCk+SXs2eViCinjzXNv3m5YDKJiJXr5wKNJoDtXk mNzDBQQeffh/oYN45ZxT3nAsyAx7ohhcvot41oWFA+VgZAt7WZCdNr4qg7PW6/zdBEd5 D/9FQkV/xYu1kmOQ56WPlYnIUnY+/mZ8f5tJA= Subject: Re: [PATCH 2/2] kbuild: move KALLSYMS_EXTRA_PASS from Kconfig to Makefile From: Artem Bityutskiy Reply-To: dedekind1@gmail.com To: Valdis.Kletnieks@vt.edu Cc: Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Paulo Marques In-Reply-To: <7621.1301930536@localhost> References: <1301913651-9055-1-git-send-email-dedekind1@gmail.com> <1301913651-9055-2-git-send-email-dedekind1@gmail.com> <131611.1301921158@localhost> <1301921230.2760.79.camel@localhost> <7621.1301930536@localhost> Content-Type: text/plain; charset="UTF-8" Date: Mon, 04 Apr 2011 18:37:44 +0300 Message-ID: <1301931464.2760.101.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1965 Lines: 41 On Mon, 2011-04-04 at 11:22 -0400, Valdis.Kletnieks@vt.edu wrote: > On Mon, 04 Apr 2011 15:47:10 +0300, Artem Bityutskiy said: > > On Mon, 2011-04-04 at 08:45 -0400, Valdis.Kletnieks@vt.edu wrote: > > > On Mon, 04 Apr 2011 13:40:51 +0300, Artem Bityutskiy said: > > > > > > > 3. By default KALLSYMS_EXTRA_PASS is disabled and if kallsyms has issues, > > > > "make" should print a warning and suggest using KALLSYMS_EXTRA_PASS > > > > > > If the Makefile has enough information to print the warning, why can't it go > > > ahead and do the extra pass itself instead of issuing the warning? > > > > > > (I'm obviously missing something here, as I'm foolishly posting to lkml before > > > caffeine ;) > > > > Good question, I thought to force people to send a bugreport. > > When was the last time we actually saw such a bug report? I'm suspecting that > all the affected people just set the variable and get on with their lives. So > we should either just make it automatic if that's what people are going to do, > or we rip the entire "EXTRA_PASS' stuff out forcibly and *make* people fix the > actual underlying issue that causes the extra pass to be needed... I do not know when this bug was last seen, but I'd not remove this "extra pass" work around so far. WRT automatic fix-up - I do not have strong opinion here, but Paulo Marques pointed in another thread that due to various alignment issues the bug is tricky and may come back. So probably removing working code is not very wise. Thus, it seems the way I proposed in this patch is a good balance. But anyway, if Michal Marek requests to change this, I'll do this (he is the Maintainer). -- Best Regards, Artem Bityutskiy (Артём Битюцкий) -- 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/