Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753416AbXHRIVr (ORCPT ); Sat, 18 Aug 2007 04:21:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751050AbXHRIVh (ORCPT ); Sat, 18 Aug 2007 04:21:37 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:41364 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbXHRIVf (ORCPT ); Sat, 18 Aug 2007 04:21:35 -0400 Date: Sat, 18 Aug 2007 10:21:34 +0200 (CEST) From: Jan Engelhardt To: Thomas Gleixner cc: Pekka Enberg , Christoph Lameter , Satyam Sharma , Andrew Morton , Arjan van de Ven , Tim Bird , linux kernel Subject: Re: kfree(0) - ok? In-Reply-To: <1187394022.7007.133.camel@chaos> Message-ID: References: <46C233CB.9000602@am.sony.com> <1187132149.2618.2.camel@laptopd505.fenrus.org> <20070817112253.e6a7cb33.akpm@linux-foundation.org> <84144f020708171442x52b18722k2971ceef96d3e72@mail.gmail.com> <1187394022.7007.133.camel@chaos> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 611 Lines: 21 On Aug 18 2007 01:40, Thomas Gleixner wrote: > >Do we really ? > >If yes, who invented this 1980s reminiscence, where you got valid >pointers for malloc(0) ? > >This is completely stupid. You do not go into a bar and order an empty >glass, just because you might eventually become thirsty later. Actually, this is how all-you-can-drink offers work. ;-) Jan -- - 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/