[reiserfs-list] Re: [OpenAFS-devel] more on the 2.2.18pre17 SMPcpu hog/etc.

Andi Kleen ak@suse.de
Tue, 5 Dec 2000 02:14:28 +0100

On Mon, Dec 04, 2000 at 07:41:23PM -0500, Jeffrey Hutzelman wrote:
> In which case, a SuSE 2.2.17 kernel should not call itself '2.2.17', since
> that subverts the only mechanism left to a module to be sure it's being
> loaded into the right kernel.

The mechanism does not work anyways in the general case: in the standard
distribution an SMP kernel has the same module name as a UP kernel. A lot
of datastructures are different on SMP because the spinlocks change offsets,
even on 2.2 (on 2.4 nearly everything contains a spinlock or two). If 
you haven't hit that problem with AFS yet you were just lucky.