About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Fri 12 Dec 2003 - 00:09:41 GMT

On Thu, Dec 11, 2003 at 05:23:21PM +0000, Jonathan Sambrook wrote:
> At 16:07 on Fri 05/12/03, herbert_at_13thfloor.at masquerading as 'Herbert Poetzl' wrote:
> >
> > - critical bugfix in tcp(6)_get_info()
> > - critical bugfix SMP deadlock, dyn.
> Unfortunately not quite there yet. There appear to have been two
> unrelated issues since I've still been getting crashes, but at a much slower
> rate on 2.4.23-vs1.2{0,1}. They occur more quickly with my other patches
> in place, but since they're timing susceptible, that doesn't say much.
> The fix I have is to replace the uts_sem write locks in vcontext.c's
> vx_assign_info and vx_release_info with a spinlock. They aren't related
> to the uts_name in anyway, so were only freeloading anyhow :)
> See: http://jonathan.dsvr.co.uk/kernel/index.html#vsbug
> Opinion(s) please.

Hi Jonathan!

the url for the patch is wrong (vserver is missing)

I totally agree that uts_sem isn't the apropriate
to use in this place(s), but I don't see how this
could cause a deadlock/panic as there is nothing
to lock/panic if the rw sem is held for write ...

please correct me if you see any crash/lock condition
there ...

what would be interesting is, how does vs1.3.0
behave in your tests, as it replaced the allocation
scheme completely (so no assign/alloc and no rw
uts_sem to fix ;)


> Jonathan
Vserver mailing list

About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 12 Dec 2003 - 00:10:52 GMT by hypermail 2.1.3