diff options
| author | Kees Cook <[email protected]> | 2025-05-15 21:42:16 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-05-25 07:53:48 +0000 |
| commit | 70d1eb031a68cbde4eed8099674be21778441c94 (patch) | |
| tree | c3801b634218042c05aa475d664bc9f43d079226 /drivers/firmware/psci/psci.c | |
| parent | mm: vmalloc: actually use the in-place vrealloc region (diff) | |
| download | kernel-70d1eb031a68cbde4eed8099674be21778441c94.tar.gz kernel-70d1eb031a68cbde4eed8099674be21778441c94.zip | |
mm: vmalloc: only zero-init on vrealloc shrink
The common case is to grow reallocations, and since init_on_alloc will
have already zeroed the whole allocation, we only need to zero when
shrinking the allocation.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: a0309faf1cb0 ("mm: vmalloc: support more granular vrealloc() sizing")
Signed-off-by: Kees Cook <[email protected]>
Tested-by: Pawan Gupta <[email protected]>
Cc: Danilo Krummrich <[email protected]>
Cc: Eduard Zingerman <[email protected]>
Cc: "Erhard F." <[email protected]>
Cc: Shung-Hsi Yu <[email protected]>
Cc: "Uladzislau Rezki (Sony)" <[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
