[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: locking order between softnet_lock and the kernel lock
> Generally speaking, I don't think we require locks to be released in
> order - though of course it is good practice.
If you're going to release them all, then, unless the locks themselves
interact somehow (as someone said was the case with kernel-lock, I
think), then you can release in whatever order you please - _provided_
that you release them all without reacquiring any until you've finished
I do, however, agree that proper nesting is usually a good idea. Just
not for correctness reasons.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Main Index |
Thread Index |