[bootlin/training-materials] bce091: kernel: concurrency: Improve the first spinlock slide
Miquèl Raynal
noreply at github.com
Tue Oct 18 17:33:53 CEST 2022
Branch: refs/heads/master
Home: https://github.com/bootlin/training-materials
Commit: bce0912fa2797b5ffe8e45d4cdc381851511016d
https://github.com/bootlin/training-materials/commit/bce0912fa2797b5ffe8e45d4cdc381851511016d
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M common/spinlock-deadlock-with-preemption.dia
M slides/kernel-driver-development-concurrency/kernel-driver-development-concurrency.tex
Log Message:
-----------
kernel: concurrency: Improve the first spinlock slide
Change a little bit the text of the picture just to mention that with
preemption we may end up in a deadlock, but this is not 100%
guaranteed. Of course, not disabling preemption is a bug and should be
considered very bad practice, the goal is just to be a little bit more
accurate, more details can be given orally if the audience already has
an advanced understanding of the problem.
While on this slide, update a bit the text to reflect where we use it as
well (not only in process context, that's the whole point).
Also mention the prevention of the migration which is implied when
disabling the preemption.
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
Commit: dbf802de667b3d4c55283b7d1630f33719d8a3f4
https://github.com/bootlin/training-materials/commit/dbf802de667b3d4c55283b7d1630f33719d8a3f4
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M slides/kernel-driver-development-interrupts/kernel-driver-development-interrupts.tex
Log Message:
-----------
kernel: interrupts: Rework the workqueue slide
The word worker was missing and there was a confusion between workqueue
and worker initialization. Clarify all of that.
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
Commit: e09fb45130fd02d86669d861d7ca64c58178d01d
https://github.com/bootlin/training-materials/commit/e09fb45130fd02d86669d861d7ca64c58178d01d
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M slides/kernel-driver-development-concurrency/kernel-driver-development-concurrency.tex
Log Message:
-----------
kernel: concurrency: Reword a bit the slide about alternatives to locking
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
Commit: ead79c39fcd2acbd181a3f49901e81991c53ab7b
https://github.com/bootlin/training-materials/commit/ead79c39fcd2acbd181a3f49901e81991c53ab7b
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M slides/kernel-driver-development-concurrency/kernel-driver-development-concurrency.tex
Log Message:
-----------
kernel: concurrency: Add slides to explain how to use RCU
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
Compare: https://github.com/bootlin/training-materials/compare/7ee8d2fd1a02...ead79c39fcd2
More information about the training-materials-updates
mailing list