Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755791AbZFNIcZ (ORCPT ); Sun, 14 Jun 2009 04:32:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754146AbZFNIcW (ORCPT ); Sun, 14 Jun 2009 04:32:22 -0400 Received: from mail-fx0-f207.google.com ([209.85.220.207]:46550 "EHLO mail-fx0-f207.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753183AbZFNIcV convert rfc822-to-8bit (ORCPT ); Sun, 14 Jun 2009 04:32:21 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=VpbgHva5Ou5ZQYZqU6IxiXdESO07Un1MIR+2xr/9pr6DG8voKkpqm7b3ZOT9mU3gGu AhXSdq64s9YPfJYazpVQW/fVhtJHTPYiTzs4m42ZN3yiFj/TSIBrNZlMBDmfHtioSokM mPahS09d65VBPXqjG7z0SusmFzs135vQKi78Y= MIME-Version: 1.0 In-Reply-To: <84144f020906140130w189239c0l56dccad99529aa7@mail.gmail.com> References: <20090614081052.GA9276@elte.hu> <4A34B2E2.7080702@cs.helsinki.fi> <84144f020906140130w189239c0l56dccad99529aa7@mail.gmail.com> Date: Sun, 14 Jun 2009 11:32:22 +0300 X-Google-Sender-Auth: 0c97196f7278c965 Message-ID: <84144f020906140132s56b5616flf61040553d88c05b@mail.gmail.com> Subject: Re: tty_ldisc_try_get(): BUG kmalloc-8: Poison overwritten From: Pekka Enberg To: Ingo Molnar Cc: Alan Cox , linux-kernel@vger.kernel.org, Vegard Nossum , "Rafael J. Wysocki" , Andrew Morton , Linus Torvalds , Peter Zijlstra Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 653 Lines: 20 On Sun, Jun 14, 2009 at 11:20 AM, Pekka Enberg wrote: >> You could add something like >> >> ?WARN_ON(ld->refcount == 0x6b) >> >> to tty_ldisc_deref() to see if that triggers. On Sun, Jun 14, 2009 at 11:30 AM, Pekka Enberg wrote: > Make that > > ? ?WARN_ON(ld->refcount == (int)0xa56b6b6b) > > instead. And oh, kmemcheck should be able to catch this too. :-) -- 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/