kleines Filmröllchen
d0e614c045
Kernel: Don't check that interrupts are enabled during early boot
...
The interrupts enabled check in the Kernel mutex is there so that we
don't lock mutexes within a spinlock, because mutexes reenable
interrupts and that will mess up the spinlock in more ways than one if
the thread moves processors. This check is guarded behind a debug flag
because it's too hard to fix all the problems at once, but we regressed
and weren't even getting to init stage 2 with it enabled. With this
commit, we get to stage 2 again. In early boot, there are no interrupts
enabled and spinlocks used, so we can sort of kind of safely ignore the
interrupt state. There might be a better solution with another boot
state flag that checks whether APs are up (because they have interrupts
enabled from the start) but that seems overkill.
2022-07-19 12:12:13 +01:00
..
2022-07-19 11:02:37 +01:00
2022-07-14 23:27:46 +02:00
2022-07-19 11:29:58 +01:00
2022-07-19 11:02:37 +01:00
2022-07-19 11:02:37 +01:00
2022-07-15 12:29:23 +02:00
2022-07-19 11:02:37 +01:00
2022-07-14 23:27:46 +02:00
2022-07-12 23:11:35 +02:00
2022-06-15 17:15:04 +02:00
2022-07-19 12:12:13 +01:00
2022-07-15 12:42:43 +02:00
2022-07-12 23:11:35 +02:00
2022-04-01 21:24:45 +01:00
2022-07-19 11:07:34 +01:00
2022-07-15 12:42:43 +02:00
2022-07-12 23:11:35 +02:00
2022-07-12 23:11:35 +02:00
2022-07-12 23:11:35 +02:00
2022-04-01 21:24:45 +01:00
2022-05-12 13:12:37 +02:00
2022-04-01 21:24:45 +01:00
2022-07-19 11:07:34 +01:00
2022-07-12 23:11:35 +02:00
2022-05-05 20:55:57 +02:00
2022-04-03 21:51:58 +02:00
2022-07-19 11:07:34 +01:00
2022-07-12 00:55:31 +01:00
2022-07-12 23:11:35 +02:00
2022-07-15 12:29:23 +02:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-07-14 23:27:46 +02:00
2022-07-13 19:15:17 +01:00
2022-07-12 00:55:31 +01:00
2022-07-12 23:11:35 +02:00
2022-05-06 02:12:51 +04:30
2022-07-12 23:11:35 +02:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-05-03 21:53:36 +02:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-05-03 21:53:36 +02:00
2022-07-12 23:11:35 +02:00
2022-04-01 21:24:45 +01:00
2022-07-12 23:11:35 +02:00
2022-07-12 23:11:35 +02:00
2022-07-12 23:11:35 +02:00
2022-07-15 12:42:43 +02:00
2022-07-12 23:11:35 +02:00
2022-07-12 23:11:35 +02:00
2022-04-01 21:24:45 +01:00
2022-07-12 23:11:35 +02:00
2022-07-12 23:11:35 +02:00
2022-07-12 23:11:35 +02:00
2022-04-02 19:34:20 -07:00
2022-07-12 23:11:35 +02:00
2022-04-01 21:24:45 +01:00
2022-03-23 19:49:49 +02:00
2022-05-03 21:53:36 +02:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-07-12 23:11:35 +02:00
2022-07-10 14:24:34 +02:00
2022-07-10 14:24:34 +02:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-04-01 21:24:45 +01:00
2022-07-12 23:11:35 +02:00
2022-03-04 20:07:05 +01:00
2022-04-01 21:24:45 +01:00
2022-07-12 23:11:35 +02:00
2022-04-01 21:24:45 +01:00
2022-07-19 11:07:34 +01:00
2022-07-19 11:07:34 +01:00