On 03/30, Tejun Heo wrote: > > On Sat, Mar 30, 2013 at 10:00 AM, Oleg Nesterov <o...@redhat.com> wrote: > > > But I guess I missed the fact that this helper should be safe even this > > @task can be the a vfork'ed user-space process, yes? > > > > Yeap, we really don't know what to expect.
OK, > > Or we can add to_live_kthread_safe() which checks "parent == kthreadd_task" > > instead. > > But that would be more fragile than probe_read. I mean, this thing will be > called on BUGs and oopses. OK, I agree. Sorry for noise and thanks for your explanations, I really missed the intent. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/