2022-02-04 21:17:01

by Marcelo Tosatti

[permalink] [raw]
Subject: [patch v11 01/13] s390: add support for TIF_TASK_ISOL

Add TIF_TASK_ISOL handling for s390.

Cc: [email protected]
Signed-off-by: Marcelo Tosatti <[email protected]>

Index: linux-2.6/arch/s390/include/asm/thread_info.h
===================================================================
--- linux-2.6.orig/arch/s390/include/asm/thread_info.h
+++ linux-2.6/arch/s390/include/asm/thread_info.h
@@ -73,6 +73,7 @@ void arch_setup_new_exec(void);
#define TIF_ISOLATE_BP 8 /* Run process with isolated BP */
#define TIF_ISOLATE_BP_GUEST 9 /* Run KVM guests with isolated BP */
#define TIF_PER_TRAP 10 /* Need to handle PER trap on exit to usermode */
+#define TIF_TASK_ISOL 11 /* task isolation work pending */

#define TIF_31BIT 16 /* 32bit process */
#define TIF_MEMDIE 17 /* is terminating due to OOM killer */
@@ -97,6 +98,7 @@ void arch_setup_new_exec(void);
#define _TIF_ISOLATE_BP BIT(TIF_ISOLATE_BP)
#define _TIF_ISOLATE_BP_GUEST BIT(TIF_ISOLATE_BP_GUEST)
#define _TIF_PER_TRAP BIT(TIF_PER_TRAP)
+#define _TIF_TASK_ISOL BIT(TIF_TASK_ISOL)

#define _TIF_31BIT BIT(TIF_31BIT)
#define _TIF_SINGLE_STEP BIT(TIF_SINGLE_STEP)



2022-02-08 17:13:06

by Sven Schnelle

[permalink] [raw]
Subject: Re: [patch v11 01/13] s390: add support for TIF_TASK_ISOL

Marcelo Tosatti <[email protected]> writes:

> Add TIF_TASK_ISOL handling for s390.
>
> Cc: [email protected]
> Signed-off-by: Marcelo Tosatti <[email protected]>

Acked-by: Sven Schnelle <[email protected]>

> Index: linux-2.6/arch/s390/include/asm/thread_info.h
> ===================================================================
> --- linux-2.6.orig/arch/s390/include/asm/thread_info.h
> +++ linux-2.6/arch/s390/include/asm/thread_info.h
> @@ -73,6 +73,7 @@ void arch_setup_new_exec(void);
> #define TIF_ISOLATE_BP 8 /* Run process with isolated BP */
> #define TIF_ISOLATE_BP_GUEST 9 /* Run KVM guests with isolated BP */
> #define TIF_PER_TRAP 10 /* Need to handle PER trap on exit to usermode */
> +#define TIF_TASK_ISOL 11 /* task isolation work pending */
>
> #define TIF_31BIT 16 /* 32bit process */
> #define TIF_MEMDIE 17 /* is terminating due to OOM killer */
> @@ -97,6 +98,7 @@ void arch_setup_new_exec(void);
> #define _TIF_ISOLATE_BP BIT(TIF_ISOLATE_BP)
> #define _TIF_ISOLATE_BP_GUEST BIT(TIF_ISOLATE_BP_GUEST)
> #define _TIF_PER_TRAP BIT(TIF_PER_TRAP)
> +#define _TIF_TASK_ISOL BIT(TIF_TASK_ISOL)
>
> #define _TIF_31BIT BIT(TIF_31BIT)
> #define _TIF_SINGLE_STEP BIT(TIF_SINGLE_STEP)