lkml.org 
[lkml]   [2009]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 3/4 -mm] flex_array: poison free elements
On Wed, 9 Sep 2009, Dave Hansen wrote:

> It shouldn't be too hard to do that, though. Although a bit silly to
> have make a copy_to_user() call for each ->parts[] page, it would be
> pretty easy to implement.
>

Right, but the event buffer becomes slower as a whole because of the
multiple copy_to_user() on read, indirection into each flex_array_part,
and add_event_entry() would now require a memcpy.


\
 
 \ /
  Last update: 2009-09-09 21:37    [from the cache]
©2003-2011 Jasper Spaans