lkml.org 
[lkml]   [2008]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: IO space memcpy support for userspace.
Date
There is never going to be something in memcpy that makes any magical
kernel calls to find out about an address. That's just loony, sorry.
memcpy is inlined away by the compiler in good cases. It's like you'd
asked for "*ptr" to have magical constraints by the compiler generating
code to ask the kernel if "ptr" is a special address. Uh, really?

If you can think of an efficient way to determine it and do what you need,
then you could write optimized routines that do that in the vDSO perhaps.


Thanks,
Roland


\
 
 \ /
  Last update: 2008-12-05 21:31    [W:0.102 / U:2.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site