Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754011Ab0L2Vun (ORCPT ); Wed, 29 Dec 2010 16:50:43 -0500 Received: from smtp-out.google.com ([74.125.121.67]:57330 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753917Ab0L2Vuk (ORCPT ); Wed, 29 Dec 2010 16:50:40 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; b=ccmpCJkYUfbJt2ju62OdQlbADnlk/LiHDCVY2Rbv823MVj1iqGRbP/jm/EilEfUv4j xtPxR143V1tAU5tfh1dw== Date: Wed, 29 Dec 2010 13:50:22 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@sister.anvils To: Johannes Weiner cc: Minchan Kim , Thomas Meyer , Linux Kernel Mailing List , linux-mm , KAMEZAWA Hiroyuki , Balbir Singh , Andrew Morton , Hugh Dickins Subject: Re: 2.6.37-rc7: NULL pointer dereference In-Reply-To: <20101222164151.GA2048@cmpxchg.org> Message-ID: References: <1293020757.1998.2.camel@localhost.localdomain> <20101222164151.GA2048@cmpxchg.org> User-Agent: Alpine 2.00 (LSU 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323584-672622310-1293659434=:22803" X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1880 Lines: 43 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323584-672622310-1293659434=:22803 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 22 Dec 2010, Johannes Weiner wrote: > On Thu, Dec 23, 2010 at 12:37:11AM +0900, Minchan Kim wrote: > > On Wed, Dec 22, 2010 at 9:25 PM, Thomas Meyer wrote: > > > BUG: unable to handle kernel NULL pointer dereference at 00000008 > > > IP: [] __mem_cgroup_try_charge+0x234/0x430 > > > Process swapoff (pid: 8058, ti=3Df2e70000 task=3Df3e55860 task.ti=3Df= 2e70000) > > > Call Trace: > > > =A0[] ? ktime_get_ts+0x107/0x140 > > > =A0[] ? mem_cgroup_try_charge_swapin+0x49/0xb0 > > > =A0[] ? unuse_mm+0x1db/0x300 > > > =A0[] ? sys_swapoff+0x2aa/0x890 > > > =A0[] ? audit_syscall_entry+0x218/0x240 > > > =A0[] ? audit_syscall_exit+0x1f3/0x220 > > > =A0[] ? sysenter_do_call+0x12/0x22 >=20 > This could be explained by a kernel without VM_BUG_ON(), where > !mm->owner goes uncaught until css_tryget() reads mem.css.flags (eight > bytes member offset on 32-bit). >=20 > Does > =09http://marc.info/?l=3Dlinux-mm&m=3D128889198016021&w=3D2 > help? I'm sure you're right, Hannes. Thanks for the prod. Sadly, Kame and I both let the fix drift, expecting it to magick its way into Linus's tree. We're now at rc8: I'd better change my Acked-by to a Signed-off-by and try sending it in immediately: will do so now. Hugh --8323584-672622310-1293659434=:22803-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/