[haiku-commits] Re: r35195 - haiku/trunk/src/system/kernel/vm

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 20 Jan 2010 16:37:30 +0100

On 2010-01-20 at 15:35:32 [+0100], Rene Gollent <anevilyak@xxxxxxxxx> wrote:
> On Wed, Jan 20, 2010 at 3:00 AM,  <ingo_weinhold@xxxxxx> wrote:
> > Author: bonefish
> > Date: 2010-01-20 10:00:38 +0100 (Wed, 20 Jan 2010)
> > New Revision: 35195
> > Changeset: http://dev.haiku-os.org/changeset/35195/haiku
> > Ticket: http://dev.haiku-os.org/ticket/5138
> >
> > Modified:
> >   haiku/trunk/src/system/kernel/vm/vm.cpp
> > Log:
> > Potentially messing up kernel memory, this bug could obviously cause all
> > kinds of kernel crashes and weird behavior. E.g. ticket #5138 is a likely
> > candidate, as are triple faults.
> 
> Nice catch! Does this potentially also explain the freezing issue you
> were seeing?

No, I think that was actually a failed attempt to enter KDL after a panic(). 
Maybe when two or more CPUs try to do that at the same time. That used to 
work, but maybe something got broken since. I recall that Axel changed the 
locking for the debug output. It might be a good idea to review that under 
this aspect.

CU, Ingo

Other related posts: