Re: [PATCH -v2 7/8] jump_label: Add selftest

2015-07-29 Thread Peter Zijlstra
On Tue, Jul 28, 2015 at 05:46:40PM -0400, Jason Baron wrote: > On 07/28/2015 09:21 AM, Peter Zijlstra wrote: > In order to get the !CONFIG_JUMP_LABEL to work I needed, > the following: > > diff --git a/include/linux/jump_label.h b/include/linux/jump_label.h > index c033595..27b335a 100644 > --- a

Re: [PATCH -v2 7/8] jump_label: Add selftest

2015-07-28 Thread Jason Baron
On 07/28/2015 09:21 AM, Peter Zijlstra wrote: Hi, Funny-so I did something similar but its a modules self test so I think its complementary. I can re-post with a changelog and some more comments if you think its worthwhile. I have two modules in order to test actually updating the key during modu

[PATCH -v2 7/8] jump_label: Add selftest

2015-07-28 Thread Peter Zijlstra
Add a little selftest that validates all combinations. Signed-off-by: Peter Zijlstra (Intel) --- arch/Kconfig|6 ++ kernel/jump_label.c | 39 ++- 2 files changed, 44 insertions(+), 1 deletion(-) --- a/arch/Kconfig +++ b/arch/Kconfig @@ -71,6