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:


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.