From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Lameter Subject: Re: [Bugme-new] [Bug 33502] New: Caught 64-bit read from uninitialized memory in __alloc_skb Date: Tue, 19 Apr 2011 16:18:43 -0500 (CDT) Message-ID: References: <20110418153852.153d3ed3.akpm@linux-foundation.org> <1303181466.4152.39.camel@edumazet-laptop> <1303182557.4152.48.camel@edumazet-laptop> <1303183217.4152.49.camel@edumazet-laptop> <1303244270.2756.3.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Andrew Morton , netdev@vger.kernel.org, bugzilla-daemon@bugzilla.kernel.org, bugme-daemon@bugzilla.kernel.org, casteyde.christian@free.fr, Vegard Nossum , Pekka Enberg To: Eric Dumazet Return-path: Received: from smtp107.prem.mail.ac4.yahoo.com ([76.13.13.46]:38619 "HELO smtp107.prem.mail.ac4.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755281Ab1DSVSs (ORCPT ); Tue, 19 Apr 2011 17:18:48 -0400 In-Reply-To: <1303244270.2756.3.camel@edumazet-laptop> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 19 Apr 2011, Eric Dumazet wrote: > > Ugg.. Isnt there some way to indicate to kmemcheck that a speculative > > access is occurring? > > Yes, here is a totally untested patch (only compiled here), to keep > kmemcheck & cmpxchg_double together. Ok looks somewhat saner. Why does DEBUG_PAGEALLOC need this? Pages are never freed as long as a page is frozen and a page needs to be frozen to be allocated from. I dont see how we could reference a free page.