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 690921 - Fix compaction deadlock with SLUB and loop over tmpfs
Summary: Fix compaction deadlock with SLUB and loop over tmpfs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Andrea Arcangeli
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-25 20:06 UTC by Andrea Arcangeli
Modified: 2011-05-19 12:00 UTC (History)
1 user (show)

Fixed In Version: kernel-2.6.32-130.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 12:00:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0542 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 6.1 kernel security, bug fix and enhancement update 2011-05-19 11:58:07 UTC

Description Andrea Arcangeli 2011-03-25 20:06:05 UTC
Description of problem: a deadlock might happen if the kernel is configured with SLUB and loop over tmpfs is used if compaction is enabled (even if THP is off).


Version-Release number of selected component (if applicable): 6.0/6.1/master


How reproducible: not reproducible (probably impossible to reproduce with RHEL6.0 and RHEL6.1 because of SLAB being selected instead of SLUB)


Steps to Reproduce:
1. build the kernel with CONFIG_COMPACTION=y and CONFIG_SLUB=y
2. create a loop over tmpfs
3. copy data to loop device (writes to the loop device that require writeback)
  
Actual results: it must not deadlock


Expected results: it might deadlock (reproduced only once by Hugh with a modified tmpfs/shmem code, not reproducible)

Comment 1 Andrea Arcangeli 2011-03-25 20:12:18 UTC
Patch submitted to rhkernel-list with Message-ID: <20110325201201.GA29142>

Comment 4 Aristeu Rozanski 2011-04-07 14:14:54 UTC
Patch(es) available on kernel-2.6.32-130.el6

Comment 8 errata-xmlrpc 2011-05-19 12:00:03 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0542.html


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