[reiserfs-list] Re: [OpenAFS-devel] more on the 2.2.18pre17 SMPcpu hog/etc.
Mon, 4 Dec 2000 20:20:13 -0500 (EST)
On Tue, 5 Dec 2000, Andi Kleen wrote:
> 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.
True. But our success has nothing to do with luck -- we use symbol