 memcpy_tofs() and memcpy_fromfs()
memcpy_tofs() and memcpy_fromfs() memcpy_*fs(): which way is "fs"?  (Reinhold J. Gerharz)
  
   memcpy_*fs(): which way is "fs"?  (Reinhold J. Gerharz)
| In older versions of the Linux kernel, the i386 FS segment register pointed to user space. So, memcpy_tofs meant to user space, and memcpy_fromfs meant from user space. On other platforms, these did the right thing despite the non-existence of an FS register. These calls are deprecated in current kernels, however, and new code should use copy_from_user() and copy_to_user(). |