Re: [PATCH 0/1] kthreads: simplify !kthreadd_task logic, kill kthreadd_task_init_done
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH 0/1] kthreads: simplify !kthreadd_task logic, kill kthreadd_task_init_done
- From: Oleg Nesterov <oleg@xxxxxxxxxx>
- Date: Fri, 18 Sep 2009 23:15:34 +0200
- Cc: Wu Fei <at.wufei@xxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>, arjan@xxxxxxxxxxxxx, jeremy@xxxxxxxx, mschmidt@xxxxxxxxxx, mingo@xxxxxxxxxx, hpa@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, tj@xxxxxxxxxx, tglx@xxxxxxxxxxxxx, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, linux-tip-commits@xxxxxxxxxxxxxxx, Rusty Russell <rusty@xxxxxxxxxxxxxxx>
- In-reply-to: <20090918211218.GA19351@xxxxxxxxxx>
- References: <20090901135925.GA9083@xxxxxxx> <20090901145526.GA31317@xxxxxxxxxx> <20090901165235.GA9105@xxxxxxxxxx> <m13a76xnbw.fsf@xxxxxxxxxxxxxxxxx> <20090902091340.GA5173@xxxxxxxxxx> <20090904073749.GB20598@xxxxxxx> <20090918163241.GA8556@desktop> <20090918185425.GA16620@xxxxxxxxxx> <alpine.LFD.2.01.0909181217270.4950@xxxxxxxxxxxxxxxxxxxxx> <20090918211218.GA19351@xxxxxxxxxx>
- User-agent: Mutt/1.5.18 (2008-05-17)
On 09/18, Oleg Nesterov wrote:
>
> But personally I still can't understand what happens. If we were
> preempted somewhere before "kthreadd_task = find_task_by_pid_ns()"
> initialization, then schedule_debug() should complain? rest_init()
> runs under preempt_disable().
Ah. CONFIG_PREEMPT_VOLUNTARY means !CONFIG_PREEMPT, and Ingo mentioned
that SMP is disabled, this also means lock_kernel() is noop.
Oleg.
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]