lkml.org 
[lkml]   [2003]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] printk subsystems
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
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.100 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site