[Devel] [PATCH RHEL7 COMMIT] kernel: check the JOBCTL_TRAPPING_BIT bit correctly
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Dec 28 01:58:19 PST 2015
The commit is pushed to "branch-rh7-3.10.0-229.7.2.vz7.9.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.9.17
------>
commit a7f3b6508c4d44d44ef91e0421bd5bfd423c3ad3
Author: Andrew Vagin <avagin at openvz.org>
Date: Mon Dec 28 13:58:12 2015 +0400
kernel: check the JOBCTL_TRAPPING_BIT bit correctly
#define JOBCTL_TRAPPING_BIT 21 /* switching to TRACED */
#define JOBCTL_TRAPPING (1 << JOBCTL_TRAPPING_BIT)
https://jira.sw.ru/browse/PSBM-42052
Signed-off-by: Andrew Vagin <avagin at openvz.org>
Acked-by: Andrey Ryabinin <aryabinin at virtuozzo.com>
---
kernel/freezer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/freezer.c b/kernel/freezer.c
index 3445d5d..fbd855b1 100644
--- a/kernel/freezer.c
+++ b/kernel/freezer.c
@@ -39,7 +39,7 @@ bool freezing_slow_path(struct task_struct *p)
if (test_thread_flag(TIF_MEMDIE))
return false;
- if (p->jobctl & JOBCTL_TRAPPING_BIT)
+ if (p->jobctl & JOBCTL_TRAPPING)
return false;
if (pm_nosig_freezing || cgroup_freezing(p))
More information about the Devel
mailing list