aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2025-07-14 11:21:27 +0000
committerWill Deacon <[email protected]>2025-07-15 13:58:23 +0000
commit75fdf823f94b18fa29ecbad9f39ecf8c57e8b8c6 (patch)
treecb379c5bc647c1f675eaf17908ebf684765fd37f /drivers/pwm/pwm-stm32.c
parentarm64: fix unnecessary rebuilding when CONFIG_DEBUG_EFI=y (diff)
downloadkernel-75fdf823f94b18fa29ecbad9f39ecf8c57e8b8c6.tar.gz
kernel-75fdf823f94b18fa29ecbad9f39ecf8c57e8b8c6.zip
arm64/gcs: Don't call gcs_free() when releasing task_struct
Currently we call gcs_free() when releasing task_struct but this is redundant, it attempts to deallocate any kernel managed userspace GCS which should no longer be relevant and resets values in the struct we're in the process of freeing. By the time arch_release_task_struct() is called the mm will have been disassociated from the task so the check for a mm in gcs_free() will always be false, for threads that are exiting leaving the mm active deactivate_mm() will have been called previously and freed any kernel managed GCS. Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions