Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754884AbaF3WD0 (ORCPT ); Mon, 30 Jun 2014 18:03:26 -0400 Received: from mail-ie0-f178.google.com ([209.85.223.178]:33401 "EHLO mail-ie0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750997AbaF3WDY (ORCPT ); Mon, 30 Jun 2014 18:03:24 -0400 Date: Mon, 30 Jun 2014 15:03:21 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Christoph Lameter , Sasha Levin , Wei Yang cc: Pekka Enberg , Matt Mackall , Andrew Morton , "linux-mm@kvack.org" , LKML , Dave Jones Subject: Re: mm: slub: invalid memory access in setup_object In-Reply-To: Message-ID: References: <53AAFDF7.2010607@oracle.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 25 Jun 2014, Christoph Lameter wrote: > On Wed, 25 Jun 2014, Sasha Levin wrote: > > > [ 791.669480] ? init_object (mm/slub.c:665) > > [ 791.669480] setup_object.isra.34 (mm/slub.c:1008 mm/slub.c:1373) > > [ 791.669480] new_slab (mm/slub.c:278 mm/slub.c:1412) > > So we just got a new page from the page allocator but somehow cannot > write to it. This is the first write access to the page. > I'd be inclined to think that this was a result of "slub: reduce duplicate creation on the first object" from -mm[*] that was added the day before Sasha reported the problem. It's not at all clear to me that that patch is correct. Wei? Sasha, with a revert of that patch, does this reproduce? [*] http://ozlabs.org/~akpm/mmotm/broken-out/slub-reduce-duplicate-creation-on-the-first-object.patch -- 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/