Page MenuHomeFreeBSD

Remove NOWAIT in the places where actually can wait.
ClosedPublic

Authored by howard0su_gmail.com on Jan 26 2016, 12:26 PM.
Tags
None
Referenced Files
F137055987: D5081.id12742.diff
Fri, Nov 21, 1:43 AM
F137054962: D5081.id12717.diff
Fri, Nov 21, 1:41 AM
F137054844: D5081.id13046.diff
Fri, Nov 21, 1:41 AM
F137054536: D5081.id.diff
Fri, Nov 21, 1:40 AM
F137054043: D5081.diff
Fri, Nov 21, 1:39 AM
Unknown Object (File)
Thu, Nov 20, 4:38 AM
Unknown Object (File)
Fri, Nov 14, 9:13 PM
Unknown Object (File)
Tue, Nov 11, 11:01 PM

Details

Summary

use M_WAITOK when applicatable
Remove code to check NULL return values.
Convert sc_lock to normal mutex

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2271
Build 2280: arc lint + arc unit

Event Timeline

howard0su_gmail.com retitled this revision from to Remove NOWAIT in the places where actually can wait..
howard0su_gmail.com updated this object.
howard0su_gmail.com edited the test plan for this revision. (Show Details)
adrian edited edge metadata.

i'm going to OK this, but when changing things to M_WAITOK, just make sure you run it on -HEAD with WITNESS and other debugging enabled (which it is by default, so don't disable it.)

Thanks!

This revision is now accepted and ready to land.Feb 4 2016, 5:52 AM

Yes. i already running HEAD with WITNESS with the change.

This revision was automatically updated to reflect the committed changes.