Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759578Ab0HQSuj (ORCPT ); Tue, 17 Aug 2010 14:50:39 -0400 Received: from smtp108.prem.mail.ac4.yahoo.com ([76.13.13.47]:34766 "HELO smtp108.prem.mail.ac4.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751585Ab0HQSud (ORCPT ); Tue, 17 Aug 2010 14:50:33 -0400 X-Yahoo-SMTP: _Dag8S.swBC1p4FJKLCXbs8NQzyse1SYSgnAbY0- X-YMail-OSG: zxU4PP8VM1k.GYv63nQY7e_sZo3Vks8X8QM0X4zSA7hANTv 3FyFniwcSncvYaEUoZtkLiTsTljgqxLaGUPYzAt6sL8JWCZCbDOZZYGYGr6_ 2mK96NwOgdmPPoVdw2kXFTd1hYnfgpBaR0t9APQVAn9hCy53yKFMAqqNdEOG 6dmlrs6xYgEKXyTmEjk49maQWjTBafmngOy6r9y_5PwFMVC7zKFNU5bWFptl L X-Yahoo-Newman-Property: ymail-3 Date: Tue, 17 Aug 2010 13:50:29 -0500 (CDT) From: Christoph Lameter X-X-Sender: cl@router.home To: David Rientjes cc: Pekka Enberg , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Nick Piggin Subject: Re: [S+Q3 20/23] slub: Shared cache to exploit cross cpu caching abilities. In-Reply-To: Message-ID: References: <20100804024514.139976032@linux.com> <20100804024535.338543724@linux.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) 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 Content-Length: 1897 Lines: 38 On Tue, 17 Aug 2010, David Rientjes wrote: > On Tue, 17 Aug 2010, Christoph Lameter wrote: > > > > This explodes on the memset() in slab_alloc() because of __GFP_ZERO on my > > > system: > > > > Well that seems to be because __kmalloc_node returned invalid address. Run > > with full debugging please? > > > > Lots of data, so I trimmed it down to something reasonable by eliminating > reports that were very similar. (It also looks like some metadata is > getting displayed incorrectly such as negative pid's and 10-digit cpu > numbers.) Well yes I guess that is the result of large scale corruption that is reaching into the debug fields of the object. > [ 15.752467] > [ 15.752467] INFO: 0xffff880c7e5f3ec0-0xffff880c7e5f3ec7. First byte 0x30 instead of 0xbb > [ 15.752467] INFO: Allocated in 0xffff88087e4f11e0 age=131909211166235 cpu=2119111312 pid=-30712 > [ 15.752467] INFO: Freed in 0xffff88087e4f13f0 age=131909211165707 cpu=2119111840 pid=-30712 > [ 15.752467] INFO: Slab 0xffffea002bba4d28 objects=51 new=3 fp=0x0007000000000000 flags=0xa00000000000080 > [ 15.752467] INFO: Object 0xffff880c7e5f3eb0 @offset=3760 > [ 15.752467] > [ 15.752467] Bytes b4 0xffff880c7e5f3ea0: 18 00 00 00 7e 00 00 00 5a 5a 5a 5a 5a 5a 5a 5a ....~...ZZZZZZZZ > [ 15.752467] Object 0xffff880c7e5f3eb0: d0 0f 4f 7e 08 88 ff ff 80 10 4f 7e 08 88 ff ff .O~....O~.. > [ 15.752467] Redzone 0xffff880c7e5f3ec0: 30 11 4f 7e 08 88 ff ff 0.O~.. > [ 15.752467] Padding 0xffff880c7e5f3ef8: 00 16 4f 7e 08 88 ff ff ..O~.. 16 bytes allocated and a pointer array much larger than that is used. -- 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/