Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 690921 - Fix compaction deadlock with SLUB and loop over tmpfs
Fix compaction deadlock with SLUB and loop over tmpfs
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel (Show other bugs)
6.1
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Andrea Arcangeli
Red Hat Kernel QE team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-25 16:06 EDT by Andrea Arcangeli
Modified: 2011-05-19 08:00 EDT (History)
1 user (show)

See Also:
Fixed In Version: kernel-2.6.32-130.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-05-19 08:00:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0542 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 6.1 kernel security, bug fix and enhancement update 2011-05-19 07:58:07 EDT

  None (edit)
Description Andrea Arcangeli 2011-03-25 16:06:05 EDT
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 16:12:18 EDT
Patch submitted to rhkernel-list with Message-ID: <20110325201201.GA29142@random.random>
Comment 4 Aristeu Rozanski 2011-04-07 10:14:54 EDT
Patch(es) available on kernel-2.6.32-130.el6
Comment 8 errata-xmlrpc 2011-05-19 08:00:03 EDT
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.