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