Re: [PATCH 2/2] rcu-tasks: add RCU-tasks self tests

From: Sebastian Andrzej Siewior
Date: Mon Feb 15 2021 - 06:29:14 EST


On 2021-02-13 08:45:54 [-0800], Paul E. McKenney wrote:
> Glad you like it! But let's see which (if any) of these patches solves
> the problem for Sebastian.

Looking at that, is there any reason for doing this that can not be
solved by moving the self-test a little later? Maybe once we reached at
least SYSTEM_SCHEDULING?
This happens now even before lockdep is up or the console is registered.
So if something bad happens, you end up with a blank terminal.

There is nothing else that early in the boot process that requires
working softirq. The only exception to this is wait_task_inactive()
which is used while starting a new thread (including the ksoftirqd)
which is why it was moved to schedule_hrtimeout().

> Thanx, Paul

Sebastian