Re: [PATCH 1/3] jump label: add enabled/disabled state to jumplabel key entries

From: Peter Zijlstra
Date: Wed Nov 24 2010 - 10:25:24 EST


On Wed, 2010-11-24 at 10:21 -0500, Jason Baron wrote:
>
> The keys are simply the address of a variable or structure (so as to be
> unique). We can put pointers or anything else in the variable.

If you keep the key type fixed, like say an atomic_t, you can easily
read it and know if an jump-label is enabled or disabled if you load its
text later (modules).
--
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/