Re: [PATCH] vhost: copy_from_user -> __copy_from_user

From: David Miller
Date: Sun Mar 06 2011 - 21:03:13 EST


From: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
Date: Sun, 6 Mar 2011 13:33:49 +0200

> copy_from_user is pretty high on perf top profile,
> replacing it with __copy_from_user helps.
> It's also safe because we do access_ok checks during setup.
>
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>

Is Rusty going to take this or should I?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/