diff options
author | Breno Leitao <leitao@debian.org> | 2025-04-08 09:50:42 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2025-04-08 07:53:27 -1000 |
commit | 47068309b5777313b6ac84a77d8d10dc7312260a (patch) | |
tree | 43ea76935fc572b0a4f7832b6c14198da6621b95 /scripts/gdb/linux/pgtable.py | |
parent | 4a1d8ababde685a77fd4fd61e58f973cbdf29f8c (diff) | |
download | linux-stable-47068309b5777313b6ac84a77d8d10dc7312260a.tar.gz linux-stable-47068309b5777313b6ac84a77d8d10dc7312260a.tar.bz2 linux-stable-47068309b5777313b6ac84a77d8d10dc7312260a.zip |
sched_ext: Use kvzalloc for large exit_dump allocation
Replace kzalloc with kvzalloc for the exit_dump buffer allocation, which
can require large contiguous memory depending on the implementation.
This change prevents allocation failures by allowing the system to fall
back to vmalloc when contiguous memory allocation fails.
Since this buffer is only used for debugging purposes, physical memory
contiguity is not required, making vmalloc a suitable alternative.
Cc: stable@vger.kernel.org
Fixes: 07814a9439a3b0 ("sched_ext: Print debug dump after an error exit")
Suggested-by: Rik van Riel <riel@surriel.com>
Signed-off-by: Breno Leitao <leitao@debian.org>
Acked-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions