lkml.org 
[lkml]   [2010]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH 02/43] ptrace: cleanup ptrace_request()
Date
Arnd Bergmann <arnd@arndb.de> writes:
> If you introduce two pointers, 'siginfo_t __user *usiginfo' and
> 'unsigned long __user *datap' instead of just 'datap', you can use
> get_user/put_user everywhere, which would make the code better readable
> and faster.
>
> Otherwise this change looks good.
>

Despite I don't know how much it can run faster, I just want to keep it as is
unless it would be a serious mistake. :-)

--
Regards,
Namhyung Kim




\
 
 \ /
  Last update: 2010-08-27 18:17    [W:0.078 / U:6.908 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site