Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2011 19:09:13 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-arch@FreeBSD.org
Subject:   stop scheduler in panic context
Message-ID:  <4E0213A9.5050303@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

I would like to present the following diff for review and discussion:
http://people.freebsd.org/~avg/stop_scheduler_on_panic.diff

The idea is to stop scheduler in a panic context and to provide a special
environment for the only running thread, the one that called panic(9).

I tried to make this diff as minimal as possible, it doesn't include changes that
I consider to be useful improvements and [even] bug fixes, but which generated
controversy in non-public discussions.

If there is no negative feedback within next few days, then I plan to post the
patch to current@ to solicit some testing.  I will definitely wait for positive
feedback before committing this change.  I hope that I will be able to sneak it
into the 9 release (unless there are objections to this).

Thank you!
-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E0213A9.5050303>