From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262914AbTDRH3s (ORCPT ); Fri, 18 Apr 2003 03:29:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262931AbTDRH3s (ORCPT ); Fri, 18 Apr 2003 03:29:48 -0400 Received: from granite.he.net ([216.218.226.66]:26884 "EHLO granite.he.net") by vger.kernel.org with ESMTP id S262914AbTDRH3o (ORCPT ); Fri, 18 Apr 2003 03:29:44 -0400 Date: Fri, 18 Apr 2003 00:42:55 -0700 From: Greg KH To: "Perez-Gonzalez, Inaky" Cc: "'karim@opersys.com'" , "'Martin Hicks'" , "'Daniel Stekloff'" , "'Patrick Mochel'" , "'Randy.Dunlap'" , "'hpa@zytor.com'" , "'pavel@ucw.cz'" , "'jes@wildopensource.com'" , "'linux-kernel@vger.kernel.org'" , "'wildos@sgi.com'" , "'Tom Zanussi'" Subject: Re: [patch] printk subsystems Message-ID: <20030418074255.GC2753@kroah.com> References: <3E9F0FD5.595B000B@opersys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 17, 2003 at 02:03:47PM -0700, Perez-Gonzalez, Inaky wrote: > > Yep, that is the point, and it is small enough (5 ulongs) that > it can be embedded anywhere without being of high impact and > having to allocate it [first example that comes to mind is > for sending a device connection message; you can embed a short > message in the device structure and query that for delivery; > no buffer, no nothing, the data straight from the source]. And the device is removed from the system, the memory for that device is freed, and then a user comes along and trys to read that message. oops... :) greg k-h