[haiku-bugs] Re: [Haiku] #9255: BFS uses unaligned memory access for BPlusTree data

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Sun, 09 Dec 2012 14:18:19 -0000

#9255: BFS uses unaligned memory access for BPlusTree data
--------------------------------+----------------------------
   Reporter:  mmlr              |      Owner:  axeld
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  R1
  Component:  File Systems/BFS  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------

Comment (by axeld):

 I was actually aware of that issue. However, PPC allows unaligned access
 as well, so I thought it would work out okay.

 Wouldn't it be possible to allow unaligned access in the getter/setter
 methods if the architecture allows it? While that would make testing
 harder, it might also be worth the hassle for the extra performance gain.

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

Other related posts: