bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zone_gc and vm_map deadlock


From: Samuel Thibault
Subject: Re: zone_gc and vm_map deadlock
Date: Wed, 22 Apr 2009 23:10:21 +0200
User-agent: Mutt/1.5.12-2006-07-14

Samuel Thibault, le Wed 22 Apr 2009 22:54:33 +0200, a écrit :
> The problem here is that kmem_free(zone_map) leads to a call to
> vm_ma_delete which locks zone_map and leads to a zalloc call (for the
> new entry because of splitting), which needs to call zget_space and
> thus kmem_alloc_wired(zone_map), which _also_ tries to lock zone_map...
> Unfortunately we can not afford to just avoid the second lock, as it may
> completely thrash what vm_map_delete is doing...

"Funnily" enough, MacOS's xnu seems to have the same bug...

Samuel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]