mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-10-24 00:44:59 +03:00
Update the SA_COPY_DATA macro to check if architecture supports efficient unaligned memory accesses at compile time. Otherwise fallback to using the sa_copy_data() function. The kernel provided CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is used to determine availability in kernel space. In user space the x86_64, x86, powerpc, and sometimes arm architectures will define the HAVE_EFFICIENT_UNALIGNED_ACCESS macro. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #7642 Closes #7684 |
||
|---|---|---|
| .. | ||
| asm-generic | ||
| asm-i386 | ||
| asm-x86_64 | ||
| include | ||
| getexecname.c | ||
| gethostid.c | ||
| getmntany.c | ||
| list.c | ||
| Makefile.am | ||
| mkdirp.c | ||
| page.c | ||
| strlcat.c | ||
| strlcpy.c | ||
| strnlen.c | ||
| timestamp.c | ||
| zone.c | ||