[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MySQL on T2000



On Fri, Jan 31, 2014 at 03:50:37PM -0600, Patrick Baggett wrote:
> Yes, it does [1], and so does Solaris using SunPro CC using -xmemalign [2]

Okay, what's happening here is that someone is forcing the compiler to
generate multiple aligned loads for pointers that are not properly
aligned, so that an unaligned load doesn't happen.  In the first case,
that's because the kernel has functions to mark where unaligned accesses
would otherwise occur.

Regardless, if userland tries to perform an unaligned load, the process
will get a SIGBUS.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature


Reply to: