[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFzivM8Z1Bjk3Qo2vtnQhCQ7fQ4rf_a+EXY7noXQcxL_CA@mail.gmail.com>
Date: Thu, 7 Jun 2012 17:52:52 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Dave Jones <davej@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel <linux-kernel@...r.kernel.org>, linux-mm@...ck.org
Subject: Re: a whole bunch of crashes since todays -mm merge.
On Thu, Jun 7, 2012 at 5:24 PM, Dave Jones <davej@...hat.com> wrote:
> I just started seeing crashes while doing simple things, like logging on a console..
I'm looking at it right now, and the sync_mm_rss() patch is pure
garbage. In many ways.
You can't do sync_mm_rss() from mmdrop(), because there's no reason to
believe that the task that does mmdrop() does it on its own active_mm.
And even if you *could* do it there, it's still horribly wrong,
because it does it at the end *after* it already freed the mm!
Does it go away if you revert that (commit 40af1bbdca47). I wish I
hadn't merged it, or that I had noticed how horrible it was before I
pushed out.
Linus
--
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