[lkml]   [2009]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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    [W:0.048 / U:3.496 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site