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]

 



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]

  Powered by Linux