From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison overwritten Date: Mon, 21 Jul 2008 22:05:54 +0200 Message-ID: <20080721200554.GA15463@elte.hu> References: <20080717214222.GA29449@elte.hu> <20080718091146.GQ6875@elte.hu> <20080721094110.GA16029@elte.hu> <84144f020807210252k68d5cf65i8c7ae3c11cecc046@mail.gmail.com> <20080721100627.GA5953@2ka.mipt.ru> <4884B7C3.9040801@linux-foundation.org> <20080721195748.GA3191@2ka.mipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Lameter , Pekka Enberg , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Vegard Nossum , "Rafael J. Wysocki" , davem@davemloft.net To: Evgeniy Polyakov Return-path: Received: from mx2.mail.elte.hu ([157.181.151.9]:56621 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754622AbYGUUGx (ORCPT ); Mon, 21 Jul 2008 16:06:53 -0400 Content-Disposition: inline In-Reply-To: <20080721195748.GA3191@2ka.mipt.ru> Sender: netdev-owner@vger.kernel.org List-ID: * Evgeniy Polyakov wrote: > It could be an interesting kmemcheck extension to catch not only > non-initialized memory, but also writes into just freed one, but not > yet returned by allocator to the next user. hm, i think kmemcheck does that mostly already. If not then I think kmemcheck should just turn off all buffering that might happen on the SLUB level (if it doesnt do it already). I.e. a kfree()d buffer should be marked as uninitialized immediately. Ingo