lkml.org 
[lkml]   [1996]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: linux/fs/open.c:sys_open() & filename zero copy patch
Date

> 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


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.033 / U:1.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site