Subject : khugepaged: gets stuck when writing to USB flash, 2.6.38-rc2
Submitter : Jindřich Makovička <firstname.lastname@example.org>
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 18.104.22.168 as well (22.214.171.124 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 ***