Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754818Ab0GNKEN (ORCPT ); Wed, 14 Jul 2010 06:04:13 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:60509 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753574Ab0GNKEL (ORCPT ); Wed, 14 Jul 2010 06:04:11 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=V6CGx4k0pe0EAIz2Iku2gTCnUXlRFeYH44CunfbTtvGKdCOm3Sv+h64vjwSmMuwyNe JYwP1xVShBcuNXfRcPsPFXtn3Xf7qDwfF+07XLB4jM9MciYjiSX0TXuvwODe6PZWbR09 pLgJo3rn4kKqiu2loJgMgPZXhoaLdWCIKeDes= MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 14 Jul 2010 12:04:09 +0200 Message-ID: Subject: Re: kmemleak, cpu usage jump out of nowhere From: Zeno Davatz To: Catalin Marinas Cc: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2023 Lines: 53 Dear Catalin On Wed, Jul 14, 2010 at 11:57 AM, Catalin Marinas wrote: > Zeno Davatz wrote: >> I got a new Intel core-8 i7 processor. >> >> I am on kernel uname -a >> >> Linux zenogentoo 2.6.35-rc5 #97 SMP Tue Jul 13 16:13:25 CEST 2010 i686 >> Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz GenuineIntel GNU/Linux >> >> Sometimes in the middle of nowhere all of a sudden all of my 8-cores >> are at 100% CPU usage and my machine really lags and hangs and is not >> useable anymore. Some random process just grabs a bunch CPUs according >> to htop. >> >> dmesg tell me that >> >> kmemleak: 38 new suspected memory leaks (see /sys/kernel/debug/kmemleak) >> kmemleak: 2 new suspected memory leaks (see /sys/kernel/debug/kmemleak) >> kmemleak: 1 new suspected memory leaks (see /sys/kernel/debug/kmemleak) >> kmemleak: 2 new suspected memory leaks (see /sys/kernel/debug/kmemleak) >> kmemleak: 2 new suspected memory leaks (see /sys/kernel/debug/kmemleak) >> kmemleak: 1 new suspected memory leaks (see /sys/kernel/debug/kmemleak) > > These may be related to the NO_BOOTMEM configuration (I sent a patch in > a separate reply). > > But even when kmemleak scans the memory, it only uses a single thread > and you should only see a single CPU going to 100%. I don't think > kmemleak scanning can explain why all the 8 cores are going up to 100%. I am doing: /usr/src/my2.6> sudo patch -p1 < patch_catalin patching file mm/bootmem.c Hunk #1 FAILED at 435. Hunk #2 FAILED at 461. 2 out of 2 hunks FAILED -- saving rejects to file mm/bootmem.c.rej patching file mm/page_alloc.c Hunk #1 FAILED at 3659. 1 out of 1 hunk FAILED -- saving rejects to file mm/page_alloc.c.rej Any hints why it wont apply? Will this patch be in the next RC? Best Zeno -- 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/