diff options
| author | Kees Cook <[email protected]> | 2025-05-15 21:42:15 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-05-25 07:53:48 +0000 |
| commit | f7a35a3c36d1e36059c5654737d9bee3454f01a3 (patch) | |
| tree | ccd8b23069d4f5444c483cba5db32a7af5392408 /drivers/firmware/psci/psci.c | |
| parent | alloc_tag: allocate percpu counters for module tags dynamically (diff) | |
| download | kernel-f7a35a3c36d1e36059c5654737d9bee3454f01a3.tar.gz kernel-f7a35a3c36d1e36059c5654737d9bee3454f01a3.zip | |
mm: vmalloc: actually use the in-place vrealloc region
Patch series "mm: vmalloc: Actually use the in-place vrealloc region".
This fixes a performance regression[1] with vrealloc()[1].
The refactoring to not build a new vmalloc region only actually worked
when shrinking. Actually return the resized area when it grows. Ugh.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: a0309faf1cb0 ("mm: vmalloc: support more granular vrealloc() sizing")
Signed-off-by: Kees Cook <[email protected]>
Reported-by: Shung-Hsi Yu <[email protected]>
Closes: https://lore.kernel.org/all/20250515-bpf-verifier-slowdown-vwo2meju4cgp2su5ckj@6gi6ssxbnfqg [1]
Tested-by: Eduard Zingerman <[email protected]>
Tested-by: Pawan Gupta <[email protected]>
Tested-by: Shung-Hsi Yu <[email protected]>
Reviewed-by: "Uladzislau Rezki (Sony)" <[email protected]>
Reviewed-by: Danilo Krummrich <[email protected]>
Cc: "Erhard F." <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions
