diff options
author | 2025-05-09 08:29:28 +0200 | |
---|---|---|
committer | 2025-05-21 10:48:23 -0700 | |
commit | d82893c52a64dd5698362ba1d7cb232a18839c87 (patch) | |
tree | 0bf115e6fc119386b7b7bc7db753c13c7f36198b /scripts/generate_rust_analyzer.py | |
parent | fork: clean-up naming of vm_stack/vm_struct variables in vmap stacks code (diff) | |
download | linux-rng-d82893c52a64dd5698362ba1d7cb232a18839c87.tar.xz linux-rng-d82893c52a64dd5698362ba1d7cb232a18839c87.zip |
fork: check charging success before zeroing stack
No need to do zero cached stack if memcg charge fails, so move the
charging attempt before the memset operation.
[linus.walleij@linaro.org: rebased]
Link: https://lkml.kernel.org/r/20250509-fork-fixes-v3-3-e6c69dd356f2@linaro.org
Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Link: https://lore.kernel.org/20240311164638.2015063-6-pasha.tatashin@soleen.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions