RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1745646 - [RT] sched/fair: Robustify CFS-bandwidth timer locking
Summary: [RT] sched/fair: Robustify CFS-bandwidth timer locking
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: kernel-rt
Version: 8.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Clark Williams
QA Contact: Qiao Zhao
URL:
Whiteboard:
Depends On:
Blocks: 1696402
TreeView+ depends on / blocked
 
Reported: 2019-08-26 14:54 UTC by Clark Williams
Modified: 2020-11-14 06:28 UTC (History)
6 users (show)

Fixed In Version: kernel-rt-4.18.0-80.5.rt16.1.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 20:38:26 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:3309 0 None None None 2019-11-05 20:39:11 UTC

Description Clark Williams 2019-08-26 14:54:02 UTC
This commit fixes a system lockup that happens with no system log reporting and affects all Red Hat RT kernels. 

From the commit log:

    Traditionally hrtimer callbacks were run with IRQs disabled, but with
    the introduction of HRTIMER_MODE_SOFT it is possible they run from
    SoftIRQ context, which does _NOT_ have IRQs disabled.
    
    Allow for the CFS bandwidth timers (period_timer and slack_timer) to
    be ran from SoftIRQ context; this entails removing the assumption that
    IRQs are already disabled from the locking.
    
    While mainline doesn't strictly need this, -RT forces all timers not
    explicitly marked with MODE_HARD into MODE_SOFT and trips over this.
    And marking these timers as MODE_HARD doesn't make sense as they're
    not required for RT operation and can potentially be quite expensive.
    
    Reported-by: Tom Putzeys <tom.putzeys.com>
    Tested-by: Mike Galbraith <efault>
    Signed-off-by: Peter Zijlstra (Intel) <peterz>
    Cc: Linus Torvalds <torvalds>
    Cc: Peter Zijlstra <peterz>
    Cc: Sebastian Andrzej Siewior <bigeasy>
    Cc: Thomas Gleixner <tglx>
    Link: https://lkml.kernel.org/r/20190107125231.GE14122@hirez.programming.kicks-ass.net
    Signed-off-by: Ingo Molnar <mingo>

Comment 1 Clark Williams 2019-08-26 14:56:40 UTC
Upstream commit from PREEMPT_RT tree:  c0ad4aa4d8

Comment 2 Clark Williams 2019-08-26 17:33:22 UTC
The code from commit c0ad4aa4d8 got pulled in with other 5.2-rt backports, so this is mainly relevant for pulling back to zstreams

Comment 4 Clark Williams 2019-08-26 17:45:12 UTC
(In reply to Clark Williams from comment #2)
> The code from commit c0ad4aa4d8 got pulled in with other 5.2-rt backports,
> so this is mainly relevant for pulling back to zstreams

kernel-rt-4.18.0-80.5.rt16.1.el8 (2019-03-27) and newer contains this commit

Comment 9 errata-xmlrpc 2019-11-05 20:38:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:3309


Note You need to log in before you can comment on or make changes to this bug.