diff options
author | attilio <attilio@FreeBSD.org> | 2009-09-18 13:48:38 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2009-09-18 13:48:38 +0000 |
commit | 6aa8dd54a5c22d81c6c1d7297b49d77869da4bdc (patch) | |
tree | ca59ff119063dbd453c065ee7426e8a502174250 /lib/libc/gen/setprogname.c | |
parent | c5e6411ab0edaeeea43e807adb2b606cd10c38c8 (diff) | |
download | FreeBSD-src-6aa8dd54a5c22d81c6c1d7297b49d77869da4bdc.zip FreeBSD-src-6aa8dd54a5c22d81c6c1d7297b49d77869da4bdc.tar.gz |
Don't allocate new unnecessary pages when devstat_alloc() looses the
run for re-acuiring the lock, but recheck if new pages are allocatable
from the pool and free the previously allocated ones.
Tested by: pho, Giovanni Trematerra
<giovanni dot trematerra at gmail dot com>
Diffstat (limited to 'lib/libc/gen/setprogname.c')
0 files changed, 0 insertions, 0 deletions