[haiku-bugs] Re: [Haiku] #11344: KDL while running PHP testsuite: "failed to acquire spinlock %p for a long time"

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Fri, 17 Oct 2014 14:36:19 -0000

#11344: KDL while running PHP testsuite: "failed to acquire spinlock %p for a 
long
time"
-----------------------------+----------------------------
   Reporter:  pulkomandy     |      Owner:  pdziepak
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  R1
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------

Comment (by bonefish):

 Replying to [ticket:11344 pulkomandy]:
 > Trying to analyze the spinlock results in {{{locked from 0x0000000}}}.
 So it looks something went wrong with the spinlock.

 Not really. The spinlock itself is just stores an integer. The ownership
 info for debugging purposes is stored in separate ring buffer, which may
 just be too small in this case, and thus the entry may be clobbered. We
 generally don't want a large buffer for performance reasons, but you can
 increase [http://cgit.haiku-
 
os.org/haiku/tree/src/system/kernel/smp.cpp?id=878ea71b7da4d4a25e28451c62d125f94487eb72#n116
 the value] for debugging purposes.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11344#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: