Re: [RFC PATCH 0/5] kobject: Add and use init predicate

2019-05-02 Thread Miroslav Benes
> Testing > --- > > Kernel build configuration > > $ egrep LIVEPATCH .config > CONFIG_HAVE_LIVEPATCH=y > CONFIG_LIVEPATCH=y > CONFIG_TEST_LIVEPATCH=m > > $ egrep FTRACE .config > CONFIG_KPROBES_ON_FTRACE=y > CONFIG_HAVE_KPROBES_ON_FTRACE=y >

[RFC PATCH 0/5] kobject: Add and use init predicate

2019-05-01 Thread Tobin C. Harding
Hi, This set patches kobject to add a predicate function for determining the initialization state of a kobject. Stripped down, the predicate is: bool kobject_is_initialized(struct kobject *kobj) { return kobj->state_initialized } This is RFC because