Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 13 Jan 2003 00:26:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 13 Jan 2003 00:25:49 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:42758 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Mon, 13 Jan 2003 00:25:19 -0500 Date: Sun, 12 Jan 2003 21:29:23 -0800 (PST) From: Linus Torvalds To: Rusty Russell cc: linux-kernel@vger.kernel.org, , Kai Germaschewski Subject: Re: [PATCH] Check compiler version, SMP and PREEMPT. In-Reply-To: <20030113051434.DC2092C09F@lists.samba.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 13 Jan 2003, Rusty Russell wrote: > > Linus, please apply if you agree. I don't like this, it doesn't make much sense to me to special-case this with some "module .sanity thing". Instead, why don't you make _every_ object file just contain some magic section (link-once), and then at module load time you compare the contents of the section with the kernel magic section. That magic section can then be arbitrary, with no strange bitmap limitations etc. Linus - 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/