Re: [PATCH] x86: Fix 27-rc crash on vsmp due to paravirt duringmodule load

From: Ingo Molnar
Date: Tue Sep 23 2008 - 04:32:23 EST



* Ravikiran G Thirumalai <kiran@xxxxxxxxxxxx> wrote:

> 27-rc fails to boot up if configured to use modules. Turns out
> vsmp_patch was marked __init, and vsmp_patch being the pvops 'patch'
> routine for vsmp, a call to vsmp_patch just turns out to execute a
> code page with series of 0xcc (POISON_FREE_INITMEM -- int3). Since
> apply_paravirt can only be called during init/module load, make
> vsmp_patch with "__init_or_module"

applied to tip/x86/urgent, thanks Ravikiran!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/