Re: linux/fs/open.c:sys_open() & filename zero copy patch

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 1 Dec 1996 17:32:44 +0000 (GMT)


> we currently do getname() to copy the pathname from user-space to
> kernel-space. Is this necessary?

Yes. At the moment anyway. Your name reading routines can now sleep paging
in user data. The originals do not. I can believe its possible to avoid
getname but the overhead and extra races to avoid might not make it useful.

Alan