Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757641AbXFLNsx (ORCPT ); Tue, 12 Jun 2007 09:48:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756144AbXFLNsq (ORCPT ); Tue, 12 Jun 2007 09:48:46 -0400 Received: from charybdis-ext.suse.de ([195.135.221.2]:33394 "EHLO emea5-mh.id5.novell.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756138AbXFLNsp convert rfc822-to-8bit (ORCPT ); Tue, 12 Jun 2007 09:48:45 -0400 Message-Id: <466EC08A.76E4.0078.0@novell.com> X-Mailer: Novell GroupWise Internet Agent 7.0.2 HP Date: Tue, 12 Jun 2007 15:49:30 +0200 From: "Jan Beulich" To: "Satyam Sharma" Cc: "Venkatesh Pallipadi" , "Sam Ravnborg" , "Andi Kleen" , , Subject: Re: [PATCH] x86: fix improper .init-type section references References: <466E6BDF.76E4.0078.0@novell.com> <466EB12B.76E4.0078.0@novell.com> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 824 Lines: 20 >> And from a purely theoretical >> perspective I don't think such references should be considered bad - >> .exit.* should be discarded together with .init.* if unloading is >> impossible (built-in or configured off), not before module/kernel >> initialization. > >Hmm, but that's not how things are, presently. __exit marked >functions are simply not linked into the kernel (when that module >is being built-in) at all -- this "discard" happens at _build time_ >(to save on kernel image size). Not really, at least not for i386 and x86-64 - see their vmlinux.lds.S files. Jan - 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/