Re: pool_grow hangs (Re: CVS commit: src/sys)

2017-12-29 Thread Tobias Nygren
On Fri, 29 Dec 2017 16:40:52 + co...@sdf.org wrote: > On Fri, Dec 29, 2017 at 03:41:42PM +0100, Tobias Nygren wrote: > > The machine has survived for 30+ minutes where it previously hung after > > just 20 seconds. > > Do you mean "30+ minutes so far" or does it still hang somewhere? where?

Re: pool_grow hangs (Re: CVS commit: src/sys)

2017-12-29 Thread coypu
On Fri, Dec 29, 2017 at 03:41:42PM +0100, Tobias Nygren wrote: > The machine has survived for 30+ minutes where it previously hung after > just 20 seconds. Do you mean "30+ minutes so far" or does it still hang somewhere? where?

Re: pool_grow hangs (Re: CVS commit: src/sys)

2017-12-29 Thread Tobias Nygren
> Meanwhile another process, waiting for the grower to finish, is > spinning forever at 100% doing the mutex_exit/mutex_enter/ERESTART > thing on the same pool. It looks to me like the grower never actually > gets scheduled to run. The attached diff works around the problem by not releasing the

pool_grow hangs (Re: CVS commit: src/sys)

2017-12-29 Thread Tobias Nygren
On Sat, 16 Dec 2017 03:13:29 + matthew green wrote: > Module Name: src > Committed By: mrg > Date: Sat Dec 16 03:13:29 UTC 2017 > > Modified Files: > src/sys/kern: subr_pool.c > src/sys/sys: pool.h > > Log Message: > hopefully workaround the