holding a spin lock across a (potential) sleep is a bug - it can
lead to deadlock.
jan-simon.
Jakub Jelinek wrote:
>
> On Thu, Oct 12, 2000 at 11:38:11AM -0400, Yong Chi wrote:
> > Hopefully this will do for SMP locks. =)
>
> Holding a spinlock for this long (especially when you might sleep
holding a spin lock across a (potential) sleep is a bug - it can
lead to deadlock.
jan-simon.
Jakub Jelinek wrote:
On Thu, Oct 12, 2000 at 11:38:11AM -0400, Yong Chi wrote:
Hopefully this will do for SMP locks. =)
Holding a spinlock for this long (especially when you might sleep there
2 matches
Mail list logo