fwiw,

> +     /*
> +      * If the patch_state remains KLP_TRANSITION_IDLE at this point, it
> +      * indicates that the task was forked after klp_init_transition().
> +      * In this case, it is safe to skip the task.
> +      */
> +     if (!test_tsk_thread_flag(task, TIF_PATCH_PENDING))
> +             return 0;

  if (!klp_patch_pending(task))

Miroslav

Reply via email to