pwd_grp.c: unlocked functions [PATCH]
Shaun Jackman
sjackman at gmail.com
Fri Oct 7 23:11:35 UTC 2005
2005/10/7, Rob Landley <rob at landley.net>:
> Correct me if I'm wrong, but using _unlocked variants of anything is a
> sub-milisecond optimization in the runtime of the "passwd" command, correct?
> (We're going through an entirely unnecessary intermediate memory buffer, but
> we're going to avoid a futex in libc?)
I agree entirely. In the case of the passwd command, I never would
have bothered using the _unlocked variants. Feel free to
%s/_unlocked//g.
Cheers,
Shaun
More information about the busybox
mailing list