Re: [PATCH 2/7] mce, workqueue: remove keventd_up() usage

From: Borislav Petkov
Date: Sat Sep 17 2016 - 03:56:38 EST


On Thu, Sep 15, 2016 at 03:30:16PM -0400, Tejun Heo wrote:
> Now that workqueue can handle work item queueing from very early
> during boot, there is no need to gate schedule_work() with
> keventd_up(). Remove it.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Tony Luck <tony.luck@xxxxxxxxx>
> Cc: Borislav Petkov <bp@xxxxxxxxx>
> Cc: linux-edac@xxxxxxxxxxxxxxx
> ---
> Hello,
>
> This change depends on an earlier workqueue patch and is followed by a
> patch to remove keventd_up(). It'd be great if it can be routed
> through the wq/for-4.9 branch.

I don't mind as long as I can call it as early as:

->x86_64_start_reservations
|->start_kernel
|->check_bugs
|->identify_boot_cpu
|->identify_cpu
|->mcheck_cpu_init
|->do_machine_check
|->mce_report_event
|->mce_schedule_work

because this is the earliest callchain I can see.

Thanks.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--