[haiku-bugs] Re: [Haiku] #15211: KDL in MultiLocker::ReadLock()

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 02 Aug 2019 11:25:29 -0000

#15211: KDL in MultiLocker::ReadLock()
-----------------------------+----------------------------
   Reporter:  3dEyes         |      Owner:  waddlesplash
       Type:  bug            |     Status:  assigned
   Priority:  normal         |  Milestone:  Unscheduled
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------

Comment (by waddlesplash):

 I'm confused. The new MultiLocker just uses rw_lock; is that what you are
 referring to that has problems here? My new MultiLocker implementation
 definitely doesn't need memory barriers or the like, the rw_lock should be
 more than enough.

 Even if those things were somehow a problem here, this is crashing in the
 kernel. Under no circumstances should userland be able to trigger an
 assert failure or GPE or anything else like that in the kernel. So this is
 a kernel bug no matter what.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15211#comment:16>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: