aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/psci/psci.c
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2025-04-08 16:50:42 +0000
committerTejun Heo <[email protected]>2025-04-08 17:53:27 +0000
commit47068309b5777313b6ac84a77d8d10dc7312260a (patch)
tree43ea76935fc572b0a4f7832b6c14198da6621b95 /drivers/firmware/psci/psci.c
parentMerge tag 'riscv-for-linus-6.15-mw1' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadkernel-47068309b5777313b6ac84a77d8d10dc7312260a.tar.gz
kernel-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: [email protected] Fixes: 07814a9439a3b0 ("sched_ext: Print debug dump after an error exit") Suggested-by: Rik van Riel <[email protected]> Signed-off-by: Breno Leitao <[email protected]> Acked-by: Andrea Righi <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions