On Mon, May 21, 2012 at 03:18:38PM -0500, Christoph Lameter wrote: > On Mon, 21 May 2012, Dave Jones wrote: > > > On Mon, May 21, 2012 at 12:39:19PM -0700, Linus Torvalds wrote: > > > > > But there's not a lot of recent stuff. The thing that jumps out is Mel > > > Gorman's recent commit cc9a6c8776615 ("cpuset: mm: reduce large > > > amounts of memory barrier related damage v3"), which has a whole new > > > loop with that scary mpol_cond_put() usage. And there's we had > > > problems with vma merging.. > > > > > > Dave, how recent is this problem? Have you already tried older kernels? > > > > I tried bisecting, but couldn't find a 'good' kernel. > > I Went back as far as 3.0, before that I kept running into compile failures. > > Newer gcc/binutils really seems to dislike 2.6.x now. > > Well binary distro kernels are available that allow easy testing. Will try > with what I got here. I have reproduced it with 3.4 so far. > > Its always an mput on a freed memory policy. Slub recovery keeps my system > up at least. I just get the errors dumped to dmesg. interesting. after it's happened 1-2 times for me, it seems things get really corrupted, and I start seeing spinlock errors, and soft lockup messages, then hard lockup. > Is there any way to get the trinity tool to stop when the kernel writes > errors to dmesg? hmm, I added a test a while ago to stop when /proc/sys/kernel/tainted changes, but maybe that broke. I'll take a look. (Of course if you start the tool after already tainted, it'll ignore it). > That way I could see the parameters passed to mbind? It does create log files in the current dir with the parameters used. You should be able to grep for the pid that caused the actual oops. Dave -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>