diff options
author | pjd <pjd@FreeBSD.org> | 2010-08-26 23:33:04 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-08-26 23:33:04 +0000 |
commit | 2943e7b89949d2e113945a724dc70e5fef0ee340 (patch) | |
tree | 0bed83afcab7f600ce99cdd9e205703a46bac78c /lib/libpmc | |
parent | 52028f2ca8892b321fb9297382bc8c745e427c4a (diff) | |
download | FreeBSD-src-2943e7b89949d2e113945a724dc70e5fef0ee340.zip FreeBSD-src-2943e7b89949d2e113945a724dc70e5fef0ee340.tar.gz |
- Check the result of malloc(M_NOWAIT) in replay_alloc(). The caller
(replay_alloc()) knows how to handle replay_alloc() failure.
- Eliminate 'freed_one' variable, it is not needed - when no entry is found
rce will be NULL.
- Add locking assertions where we expect a rc_lock to be held.
Reviewed by: rmacklem
MFC after: 2 weeks
Diffstat (limited to 'lib/libpmc')
0 files changed, 0 insertions, 0 deletions