diff options
author | Matthew Brost <matthew.brost@intel.com> | 2025-04-23 20:17:22 +0300 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2025-04-25 01:51:38 +0300 |
commit | c4a2e5f865b7230a9565c57c54b375b1d2ce82f5 (patch) | |
tree | 3ef003dc8cf25ba28d375bdd0b09e1a2c10e292e /scripts/lib/kdoc/kdoc_parser.py | |
parent | f9e4d8bb6aea69aa38e2ef312945408c935feba1 (diff) | |
download | linux-c4a2e5f865b7230a9565c57c54b375b1d2ce82f5.tar.xz |
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 <matthew.brost@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://lore.kernel.org/r/20250423171725.597955-2-matthew.brost@intel.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions