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]
Message-Id: <20101027094502.208c1207.kamezawa.hiroyu@jp.fujitsu.com>
Date:	Wed, 27 Oct 2010 09:45:02 +0900
From:	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To:	subrata@...ux.vnet.ibm.com
Cc:	Li Zefan <lizf@...fujitsu.com>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	Linuxppc-dev <Linuxppc-dev@...abs.org>,
	ltp-list <ltp-list@...ts.sf.net>,
	Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>
Subject: Re: [linux-2.6.36-git7: Power7] LTP Memory CGROUP Controller
 functional test creates Backtrace, OOMKill & rcu_sched_state detected stall
 jiffies

On Tue, 26 Oct 2010 16:03:56 +0530
Subrata Modak <subrata@...ux.vnet.ibm.com> wrote:

> If you run LTP Memory CGROUP Controller functional test on
> linux-2.6.36-git7, the following Backtrace, OOMKill & rcu_sched_state
> detected stall jiffies are created. The machine is not reachable
> thereafter. Ways to reproduce this problem:
> 
> 1) Build and boot kernel 2.6.36-git7 on Power7 machine with attached
> config file,
> 2) Fetch, build and install LTP:
> 	git clone git://ltp.git.sourceforge.net/gitroot/ltp/ltp
> 	cd ltp
> 	./configure
> 	make
> 	make install
> 3) Create a LTP runtest file /opt/ltp/runtest/memcg_function_test with
> the following entry:
> memcg_function          memcg_function_test.sh
> <<EOF>>
> 	cd /opt/ltp
> 	./runltp -f memcg_function_test
> 

IIUC, memcg test includes intentional OOM-Kill test by setting the limit to 0.
And it has another test to set the limit to PAGE_SIZE.

In your environemnt, I think page size is 64kb...right ?

About rcu_sched_state()....I have no idea at this stage. I reviewed memcontrol.c
and oom_kill.c again and coundn't found anything in quick review.

Could you try again after -rc1 shipped ?
I think Andrew Morton sent some amount of updates for oom_kill and memcg, vmscan
to Linus, today.

Thanks,
-Kame

--
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