lkml.org 
[lkml]   [1998]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.1.76, nfs client, and memory fragmentation
While testing the million monkey theory, Miguel de Icaza said:
>> You tweaked my curiosity, so I de-inlined copy_to/from_user and did
>> some comparisons. Bottom line is that on my machine it doesn't seem
>> to care either way.. performance stayed the same. I did Bonnie and
>> some network throughput tests in four configs. I'm only posting the
>> Bonnie runs in the interest of brevity.
>ext2 file system code uses memcpy_fromfs to copy blocks, not
>copy_to/from_user.
May I ask where ???

[root@manjak fs]# pwd
/usr/src/linux-2.1.77/fs
[root@manjak fs]# find . -type f -exec grep memcpy_[from,to] {} \;
-print
# define copy_from_user memcpy_fromfs
# define copy_to_user memcpy_tofs
./nfsd/nfsctl.c
memcpy_fromfs((char*)inp + (int)inp->cfs_ioctl.data,
memcpy_tofs(data->vi.out,
./coda/upcall.c

Cheers,
Kris
--
Krzysztof G. Baranowski - President of the Harmless Manyacs' Club
"The address you are trying to connect to is imaginary. Rotate
the network card through 90 degrees and try again."
http://www.knm.org.pl/ <prezes@manjak.knm.org.pl>


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