Next up Linux might boot its KFence subsystem.
It starts by retrieving some randomness from the RNG into a global, before invoking 2 initializers. The 1st might invoke yet another before ignoring memory-leaks here or freeing failed allocations. This inner routine prepares some CPU-specific data in CPU-specific datastructures (glossing over a lot of varied detail here), normalizes some pointers, iterates over the allocator's "slabs" to populate their properties, ...
1/3?
... enables CPU-specific KFence protection on the 1st 2 pages, iterates over an array initializing locks & linkedlists among other properties while enabling that CPU-specific KFence protection, shuffles that array, constructs a freelist, populates `addr` properties to be identities, & releases a lock or cleans up after failure.
The 2nd initializer ensures a codepath's enabled, enqueues a callback in one way or another, enqueues another one or 2, sets a flag, & enqueues yet another callback.
2/2