

Look what I just did:
"In a real-time kernel, the trouble with using print_k (or similar logging functions) often revolves around potential disruptions to real-time performance. Here are some key issues:
-
Blocking Behavior: print_k may block if the output buffer is full, leading to unpredictable delays in real-time tasks.
-
Interrupt Context: Using logging functions within interrupt handlers can lead to priority inversion, causing lower-priority tasks to block higher-priority ones.
-
Latency: Printing can introduce significant latency, which is detrimental in real-time systems that require deterministic timing.
-
Context Switching: Frequent logging can increase context switching overhead, impacting overall system performance.
-
Overhead: The computational overhead of formatting and outputting strings can interfere with time-sensitive operations.
For these reasons, it’s typically recommended to use alternative methods, such as circular buffers for logging, or to minimize logging in real-time contexts.
"
Funnily enough he doesn’t even have a physics degree. He has been wrongly claiming that forever, and one joke is that’s one reason he bought Twitter, because the guys there wouldn’t shut up about that