[bootlin/training-materials] 0bd252: kernel: memory: Update an example to use GFP_KERNE...
Miquèl Raynal
noreply at github.com
Tue Nov 16 17:22:19 CET 2021
Branch: refs/heads/master
Home: https://github.com/bootlin/training-materials
Commit: 0bd252de806ba7c0236ca360d08a44153043f1bd
https://github.com/bootlin/training-materials/commit/0bd252de806ba7c0236ca360d08a44153043f1bd
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date: 2021-11-16 (Tue, 16 Nov 2021)
Changed paths:
M slides/kernel-driver-development-memory/kernel-driver-development-memory.tex
Log Message:
-----------
kernel: memory: Update an example to use GFP_KERNEL instead of GFP_ATOMIC
Most of the allocations should be done with GFP_KERNEL, unless there is
a real motivation to do them in some place where we cannot sleep so
let's change the example to show the most common situation.
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
More information about the training-materials-updates
mailing list