Skip to contentSkip to conversation

s390: Remove comment about TIF_FPU

PATCH Superseded Thomas Huth 2 participants 2 messages May 2, 2024 – May 3, 2024 s390

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390: Remove comment about TIF_FPU

It has been removed in commit 2c6b96762fbd ("s390/fpu: remove TIF_FPU"), so we should not mention TIF_FPU in the comment here anymore.

---
 arch/s390/kernel/process.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/s390/kernel/process.c +1 -2
index dd456b475861..3e7df2e579f1 100644
@@ -88,8 +88,7 @@ int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
 {
 	/*
 	 * Save the floating-point or vector register state of the current
-	 * task and set the TIF_FPU flag to lazy restore the FPU register
-	 * state when returning to user space.
+	 * task.
 	 */
 	save_user_fpu_regs();
 
Signature · 1 line
2.44.0
maintainer
#1 lore raw
Quoted 13 lines · Thomas Huth

It has been removed in commit 2c6b96762fbd ("s390/fpu: remove TIF_FPU"), so we should not mention TIF_FPU in the comment here anymore.

---
 arch/s390/kernel/process.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/s390/kernel/process.c +0 -0
index dd456b475861..3e7df2e579f1 100644

arch/s390/kernel/process.c int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src) · line 93

Quoted 8 lines
arch/s390/kernel/process.c +1 -2
@@ -88,8 +88,7 @@ int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
 {
 	/*
 	 * Save the floating-point or vector register state of the current
-	 * task and set the TIF_FPU flag to lazy restore the FPU register
-	 * state when returning to user space.
+	 * task.
 	 */
 	save_user_fpu_regs();

Could you change your patch to remove the whole comment instead, please?

Without the TIF_FPU part the comment becomes quite pointless, since it only documents the obvious.