Re: Provide example copy_in_user implementation

From: Russell King (rmk@arm.linux.org.uk)
Date: Tue Jun 24 2003 - 05:18:20 EST


On Tue, Jun 24, 2003 at 12:06:10PM +0200, Pavel Machek wrote:
> This patch adds example copy_in_user implementation (copy_in_user is
> needed for new ioctl32 implementation, all 64bit archs will need
> it)... Please apply,

get_user / put_user on byte quantities may be faster than using
copy_from_user/copy_to_user on byte quantities. Yes, it may be
a generic implementation, but there's no point in purposely making
it inefficient.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- 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/



This archive was generated by hypermail 2b29 : Mon Jun 30 2003 - 22:00:16 EST