[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 9 Sep 2009 12:34:27 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Dave Hansen <dave@...ux.vnet.ibm.com>
cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists