lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 25 May 2011 18:06:59 +0200
From:	Andrea Arcangeli <aarcange@...hat.com>
To:	Johannes Hirte <johannes.hirte@....tu-ilmenau.de>
Cc:	Ulrich Keller <uhkeller@...glemail.com>,
	linux-kernel@...r.kernel.org, Thomas Sattler <tsattler@....de>
Subject: Re: 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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ