Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756758AbZFZISE (ORCPT ); Fri, 26 Jun 2009 04:18:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751910AbZFZIRu (ORCPT ); Fri, 26 Jun 2009 04:17:50 -0400 Received: from courier.cs.helsinki.fi ([128.214.9.1]:58245 "EHLO mail.cs.helsinki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751299AbZFZIRt (ORCPT ); Fri, 26 Jun 2009 04:17:49 -0400 Subject: Re: kmemleak suggestion (long message) From: Pekka Enberg To: Sergey Senozhatsky Cc: Ingo Molnar , Catalin Marinas , "Paul E. McKenney" , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org In-Reply-To: <20090626081452.GB3451@localdomain.by> References: <20090625221816.GA3480@localdomain.by> <20090626065923.GA14078@elte.hu> <84144f020906260007u3e79086bv91900e487ba0fb50@mail.gmail.com> <20090626081452.GB3451@localdomain.by> Date: Fri, 26 Jun 2009 11:17:50 +0300 Message-Id: <1246004270.27533.16.camel@penberg-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Mailer: Evolution 2.24.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1014 Lines: 28 Hi Sergey, On (06/26/09 10:07), Pekka Enberg wrote: > > > This is not acceptable. > > > > > > Instead it should perhaps print _at most_ a single line every few > > > minutes, printing a summary about _how many_ leaked entries it > > > suspects, and should offer a /debug/mm/kmemleak style of file where > > > the entries can be read out from. > > > > Yup, makes tons of sense. On Fri, 2009-06-26 at 11:14 +0300, Sergey Senozhatsky wrote: > What do you about suggested ability to filter/block "unwanted" reports? > IMHO it makes sense. Well, the thing is, I am not sure it's needed if we implement Ingo's suggestion. After all, syslog is no longer spammed very hard and you can do all the filtering in userspace when you read /debug/mm/kmemleak file, no? Pekka -- 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/