Re: [PATCH 03/10] jump label v11: base patch

From: Konrad Rzeszutek Wilk
Date: Tue Sep 21 2010 - 14:57:12 EST


> > +early_initcall(init_jump_label);
>
> Is there any danger of not patching the instructions with NOPs before
> early_initcall is called? I guess for your uses (tracing) there won't.
> And even if there are not patched it will just call the function.

Ah, nevermind - if you don't patch the addresses which are in
_jump_label section, the untouched code will just do far jump (jmpq)
to right after the macro, which is ok.
--
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/