lkml.org 
[lkml]   [2011]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: iotop: khugepaged at 99.99% (2.6.38.3)
On Mon, May 23, 2011 at 08:05:55PM +0200, Johannes Hirte wrote:
> Is there any progress on this? I've observed this behavior different times too,
> with kernel 2.6.39-rc7. After a while working some processes (kmail,
> akregator, konqueror) got stuck in D state together with the khugepaged task.
> I could kill the hanging process (kill -n 9) but the khugepaged task stayed in
> D state.
> The system is a Pentium M (Banias) with 1.3GHz and 1.5G RAM. Attached is the
> output from multiple SYSRQ+T, content from /proc/zoneinfo and the config.

great progress thanks to your info.

nr_isolated_file 4294967295

0xffffffff
I didn't check all data you provided yet but the critical bit is we're
off by one in nr_isolated_file and that's the bug, looks unrelated to
anon memory and THP. I'm reviewing more but I recommend everyone to
check this nr_isolated_file code, hoping it's not random memory
corruption. Why it only happened on 32bit so far is unclear though,
you're 32bit too. I doubt it's an overflow, the value is unsigned too,
so it has to be an underflow and that should have happened on 64bit
too in theory.

You and Ulrich both have PREEMPT=y so it may be a preempt bug. What
about you Thomas, do you have PREEMPT=y too?


\
 
 \ /
  Last update: 2011-05-25 18:09    [from the cache]
©2003-2011 Jasper Spaans