[Devel] [PATCH RHEL8 COMMIT] ms/sched: Remove stale PF_MUTEX_TESTER bit

Konstantin Khorenko khorenko at virtuozzo.com
Wed Jun 16 13:41:17 MSK 2021


The commit is pushed to "branch-rh8-4.18.0-240.1.1.vz8.5.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-240.1.1.vz8.5.43
------>
commit 3b1f01c969bd76c0851a5da3347fc9e6770baf88
Author: Thomas Gleixner <tglx at linutronix.de>
Date:   Wed Dec 19 13:04:41 2018 +0100

    ms/sched: Remove stale PF_MUTEX_TESTER bit
    
    The RTMUTEX tester was removed long ago but the PF bit stayed
    around. Remove it and free up the space.
    
    Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
    
    (cherry picked from ms commit 15917dc02841862840efcbfe1da0830f88078b5c)
    
    We've added vz specific flag which intersects with old mainstream's one,
    so let's drop the mainstream's flag, it's not used anyway and has been
    already dropped in modern ms kernel.
    
    +#define PF_IO_WORKER    0x20000000 /* Task is an IO worker */
    -#define PF_MUTEX_TESTER 0x20000000 /* Thread belongs to the rt mutex tester */
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 include/linux/sched.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 99c786ad946e..85842ff006b0 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1472,7 +1472,6 @@ extern struct pid *cad_pid;
 #define PF_MCE_EARLY		0x08000000      /* Early kill for mce process policy */
 #define PF_MEMALLOC_NOCMA	0x10000000	/* All allocation request will have _GFP_MOVABLE cleared */
 #define PF_IO_WORKER		0x20000000	/* Task is an IO worker */
-#define PF_MUTEX_TESTER		0x20000000	/* Thread belongs to the rt mutex tester */
 #define PF_FREEZER_SKIP		0x40000000	/* Freezer should not count it as freezable */
 #define PF_SUSPEND_TASK		0x80000000      /* This thread called freeze_processes() and should not be frozen */
 


More information about the Devel mailing list