Kernel Bug Tracker – Bug 28432
khugepaged: gets stuck when writing to USB flash, 2.6.38-rc2
Last modified: 2011-03-27 19:55:35 UTC
Subject : khugepaged: gets stuck when writing to USB flash, 2.6.38-rc2
Submitter : Jindřich Makovička <email@example.com>
Date : 2011-01-31 19:28
Message-ID : AANLkTi=uOpN0PwWdGh6iri-vJwuMS+WMPxmaZjv0-TrV@mail.gmail.com
References : http://marc.info/?l=linux-kernel&m=129650210516627&w=2
This entry is being used for tracking a regression from 2.6.37. Please don't
close it until the problem is fixed in the mainline.
The workaround found was:
echo never >/sys/kernel/mm/transparent_hugepage/defrag
echo no > /sys/kernel/mm/transparent_hugepage/khugepaged/defrag
I believe this problem is fixed in 2.6.39, and possibly in 184.108.40.206 as well (220.127.116.11 has commit d527caf22e48480b102c7c6ee5b9ba12170148f7, "mm: compaction: prevent kswapd compacting memory to reduce CPU usage".)
I'll give it a try, but I am not sure is this is the same problem. During the lockups I encountered, the CPU utilization was (almost) zero.
Hmm, this appears to be a duplicate of bug 31142, which is being worked on actively. This bug should be closed as a duplicate of that one...
*** This bug has been marked as a duplicate of bug 31142 ***