samba profiling

Ephi Dror ephi at agami.com
Tue Mar 1 18:09:50 GMT 2005


Hi all,
 
I have a question regarding SAMBA profiling.
 
>From looking at the code, I understood stats are kept in shared memory. 
 
My question is, do you think we have a problem if we run on multi
processors system and multiple smbd processes are trying to increment
the same counter at the same time?. Don't we need to protect write
operations or it is taken cared already by the OS.
 
I'm just wondering, sorry if I completely missed something.
 
Cheers,
Ephi
 
 


More information about the samba-technical mailing list