• 8 Posts
  • 168 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle





  • 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:

    1. Blocking Behavior: print_k may block if the output buffer is full, leading to unpredictable delays in real-time tasks.

    2. Interrupt Context: Using logging functions within interrupt handlers can lead to priority inversion, causing lower-priority tasks to block higher-priority ones.

    3. Latency: Printing can introduce significant latency, which is detrimental in real-time systems that require deterministic timing.

    4. Context Switching: Frequent logging can increase context switching overhead, impacting overall system performance.

    5. 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.

    "







  • Problems start when the people coming in don’t share those sentiments and instead want their authoritarian culture to replace and dominate.

    Edit: also, in the West democracy and equality have become part of our culture and tradition, for the most part, and those values just are not shared by lots of migrants. And you can’t tolerate those values being replaced. It’s the paradox of tolerance.