Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1421810

Summary: [rt] implement the simple work queue from upstream PREEMPT_RT series
Product: Red Hat Enterprise Linux 7 Reporter: Clark Williams <williams>
Component: kernel-rtAssignee: Clark Williams <williams>
kernel-rt sub component: Memory Management QA Contact: Jiri Kastner <jkastner>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: bhu, lgoncalv
Version: 7.4   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 19:00:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1353018, 1410158    
Attachments:
Description Flags
work-simple-Simple-work-queue-implemenation.patch
none
fs-aio-simple-simple-work.patch
none
genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch
none
hrtimer-Move-schedule_work-call-to-helper-thread.patch
none
0001-wait.h-include-atomic.h.patch
none
0002-work-simple-Simple-work-queue-implemenation.patch
none
0003-Revert-genirq-do-not-invoke-the-affinity-callback-vi.patch
none
0004-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch
none
0005-Revert-hrtimer-Move-schedule_work-call-to-helper-thr.patch
none
0006-hrtimer-Move-schedule_work-call-to-helper-thread.patch none

Description Clark Williams 2017-02-13 18:15:40 UTC
Pull in simple work queue

Comment 1 Clark Williams 2017-02-13 18:17:25 UTC
Created attachment 1249982 [details]
work-simple-Simple-work-queue-implemenation.patch

4.8.15-rt10 upstream PREEMPT_RT implementation of swork queues

Comment 2 Clark Williams 2017-02-13 18:18:11 UTC
Created attachment 1249983 [details]
fs-aio-simple-simple-work.patch

Comment 3 Clark Williams 2017-02-13 18:18:55 UTC
Created attachment 1249984 [details]
genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch

Comment 4 Clark Williams 2017-02-13 18:19:58 UTC
Created attachment 1249985 [details]
hrtimer-Move-schedule_work-call-to-helper-thread.patch

Comment 5 Clark Williams 2017-02-14 15:18:46 UTC
Created attachment 1250277 [details]
0001-wait.h-include-atomic.h.patch

ARM only fix

Comment 6 Clark Williams 2017-02-14 15:19:36 UTC
Created attachment 1250278 [details]
0002-work-simple-Simple-work-queue-implemenation.patch

Implement swork queues on RHEL-RT 7.4

Comment 7 Clark Williams 2017-02-14 15:20:32 UTC
Created attachment 1250280 [details]
0003-Revert-genirq-do-not-invoke-the-affinity-callback-vi.patch

Revert helper thread irq fix

Comment 8 Clark Williams 2017-02-14 15:21:18 UTC
Created attachment 1250281 [details]
0004-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch

Implement genirq locking fix using simple-workqueue

Comment 9 Clark Williams 2017-02-14 15:21:57 UTC
Created attachment 1250282 [details]
0005-Revert-hrtimer-Move-schedule_work-call-to-helper-thr.patch

revert helper thread fix to hrtimer locking issue

Comment 10 Clark Williams 2017-02-14 15:23:00 UTC
Created attachment 1250283 [details]
0006-hrtimer-Move-schedule_work-call-to-helper-thread.patch

Implement hrtimer locking fix with simple-workqueue

Comment 11 Clark Williams 2017-02-14 15:25:07 UTC
Scratch build against -563 7.4 kernel with above series and new swait code ran rteval for 12 hours with passing latency. 

https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=12537155

Comment 16 errata-xmlrpc 2017-08-01 19:00:29 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-2017:2077

Comment 17 errata-xmlrpc 2017-08-02 00:24:28 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-2017:2077