aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorMatthew Brost <[email protected]>2025-04-23 17:17:22 +0000
committerMatthew Brost <[email protected]>2025-04-24 22:51:38 +0000
commitc4a2e5f865b7230a9565c57c54b375b1d2ce82f5 (patch)
tree3ef003dc8cf25ba28d375bdd0b09e1a2c10e292e /rust/helpers/helpers.c
parentdrm/xe/hwmon: Fix kernel version documentation for fan speed (diff)
downloadkernel-c4a2e5f865b7230a9565c57c54b375b1d2ce82f5.tar.gz
kernel-c4a2e5f865b7230a9565c57c54b375b1d2ce82f5.zip
drm/xe: Add devcoredump chunking
Chunk devcoredump into 1.5G pieces to avoid hitting the kvmalloc limit of 2G. Simple algorithm reads 1.5G at time in xe_devcoredump_read callback as needed. Some memory allocations are changed to GFP_ATOMIC as they done in xe_devcoredump_read which holds lock in the path of reclaim. The allocations are small, so in practice should never fail. v2: - Update commit message wrt gfp atomic (John H) v6: - Drop GFP_ATOMIC change for hwconfig (John H) Signed-off-by: Matthew Brost <[email protected]> Reviewed-by: Jonathan Cavitt <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions