On Fri, Jun 15, 2012 at 11:04:45PM +0200, Michał Masłowski wrote: > > The webkit (1.4.0) people use their own allocator for these objects; it > > says to > > align to 8bytes, but it might be broken. More weirdly, the same member is > > accessed in the TimerBase *constructor*, but nothing happened constructing. > > I believe the kernel code for emulating unaligned accesses is not used, > it's easy to fix programs allocating unaligned memory so I wouldn't > consider it useful. And it certainly won't fix other problems than > SIGBUSes.
It's used *a lot*. It happens the same in ARM. In general, lots of code is full of unaligned accesses fixed realtime by the kernel. Mount debugfs, and check /sys/kerne/debug/mips/unaligned_instructions to see the counter grow! :) echo 2 to unaligned_action, and check your dmesg for a full report of everyone. echo 1, and see SIGBUS everywhere. That's the *easy* way to fix *all* sigbuses. But the Coprocessor load/store are just not implemented. :) -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
