About the system call named "sys_mount".
Russell King - ARM Linux
linux at arm.linux.org.uk
Mon Oct 19 06:21:48 EDT 2009
On Mon, Oct 19, 2009 at 05:57:21PM +0800, 付新荣 wrote:
> if there is no potential risk, the speed of "mount" command would be
> improved greatly. Tell me plz if there is problem. thax.
1. You're risking a kernel oops, caused by direct dereferencing of
user pointers
2. The cost of copying parameters in sys_mount has nothing to do with
the speed - the biggest issue will be accessing the media itself.
More information about the linux-arm-kernel
mailing list