bootlin / training-materials

Bootlin embedded Linux and kernel training materials
https://bootlin.com/training/
Other
613 stars 182 forks source link

Misc typos in PREEMPT_RT course #211

Open tpetazzoni opened 1 year ago

tpetazzoni commented 1 year ago

List of issues/typos reported by Robert PJ Day:

17: "In [an] Realtime system,..." 25: "interrupted by an interruption" seems kind of redundant 29: "A low-priority task [migh] ..." 31: "interfers" 36: "Preempt-RT", I would always write as "PREEMPT_RT" for consistency 39: Not a typo but since you refer to the POSIX/Linux API for RT programming, it would be useful to add a link for that 48: "logging mechanism[s]" 48: "execution context[s]" 48: Again, I would use a consistent reference to "RT-patch" 49: "enqueues" -> "enqueue" 49: "IRQS_ONESHOT" -> "IRQF_ONESHOT" ???? 49: "IRQF_NOTHREAD" ... there does not appear to be any such symbol in the current kernel, did you mean IRQ_NOTHREAD? 51: "Uncompatible" ... I would say "Incompatible" 53: I would title this slide, "no forced kernel preemption" so there is no confusion 53: "hard to find" -> "hard-to-find" 56: "explicitely" -> "explicitly" 56: Since you mention Ubuntu 20.04 earlier, might be worth mentioning real-time Ubuntu 22.04 in beta, https://ubuntu.com/blog/real-time-ubuntu-released 59: "Power-management features use[s] ..." 61: At some point, do you explain where to get "hwlatdetect"? 66: "Other Idle states can also exist[s], ..." 83: "rt-test" -> "rt-tests" ??? 97: "Synchronisation mechanism that can deferred..." ???? 97: "Deffered" 97: "preven" 99: I might mention that SCHED_NORMAL is another name for SCHED_OTHER. Or it used to be. 113: "of a thread[s]" 117: "explicitely"

realchrisolin commented 1 month ago

Also worth noting that PREEMPT_RT was merged into the mainline kernel today.

https://github.com/torvalds/linux/commit/baeb9a7d8b60b021d907127509c44507539c15e5