[haiku-bugs] Re: [Haiku] #8007: [app_server] fully unresponsive when resizing window of big textfile

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 17 Nov 2011 20:46:07 -0000

#8007: [app_server] fully unresponsive when resizing window of big textfile
-----------------------------+----------------------------
   Reporter:  ttcoder        |      Owner:  axeld
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  R1
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:  7882, 8136
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------
Changes (by bonefish):

 * blocking:  7285, 7882, 8136 => 7882, 8136


Comment:

 I don't see how #7285 is related. AFAICT it's about problems in the chain
 of media nodes involved and issues in the media kit. The other two tickets
 may or may not be related. They could as well just be caused by latencies
 not being guessed/computed generously enough. Without analyzing the
 scheduling behavior that's impossible to say.

 @ttcoder: You found the right lock.h/cpp. If you're referring to the
 priority inheritance approach, there are a few things that need to be
 modified: In the Thread structure the contended locks the thread holds
 need to be tracked and accordingly the lock structures need to be
 adjusted. Obviously the locking functions themselves need to be modified.
 Moreover changes in the schedulers are needed as well. I haven't really
 thought about, whether another priority field is needed in the Thread
 structure or anything else.

 I don't want to discourage you working on that, but please note that
 there's no documentation (other than what you find in the sources) how
 things work together and I don't really have time and motivation for
 introductory explanations (I suspect the same holds for others). If you
 have questions about particulars, feel free to ask.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8007#comment:30>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: