PERFORCE change 30013 for review
Peter Wemm
peter at FreeBSD.org
Mon Apr 28 16:47:03 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=30013
Change 30013 by peter at peter_daintree on 2003/04/28 16:46:22
this function is 100% mpsafe even without mtx_lock(&Giant);
Affected files ...
.. //depot/projects/hammer/sys/x86_64/x86_64/sys_machdep.c#12 edit
Differences ...
==== //depot/projects/hammer/sys/x86_64/x86_64/sys_machdep.c#12 (text+ko) ====
@@ -55,12 +55,10 @@
{
int error;
- mtx_lock(&Giant);
switch(uap->op) {
default:
error = EINVAL;
break;
}
- mtx_unlock(&Giant);
return (error);
}
More information about the p4-projects
mailing list