diff options
author | 2025-06-11 17:28:13 +0100 | |
---|---|---|
committer | 2025-06-12 17:18:01 +0100 | |
commit | d2be3270f40b1330f8c1c9512c59dd085a758ac0 (patch) | |
tree | 5ecaa259332b2c35baab51bf291f3c5993cf4427 /tools/perf/scripts/python | |
parent | arm64: Restrict pagetable teardown to avoid false warning (diff) | |
download | wireguard-linux-d2be3270f40b1330f8c1c9512c59dd085a758ac0.tar.xz wireguard-linux-d2be3270f40b1330f8c1c9512c59dd085a758ac0.zip |
arm64/gcs: Don't call gcs_free() during flush_gcs()
Currently we call gcs_free() during flush_gcs() to reset the thread
state for GCS. This includes unmapping any kernel allocated GCS, but
this is redundant when doing a flush_thread() since we are
reinitialising the thread memory too. Inline the reinitialisation of the
thread struct.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20250611-arm64-gcs-flush-thread-v1-1-cc26feeddabd@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions