/proc/cpu/alignment 丢失
/proc/cpu/alignment is missing
我怎样才能/proc/cpu/alignment到达?
我需要检查应用程序是否存在未对齐的内存访问。
根据 https://www.kernel.org/doc/Documentation/arm/mem_alignment 我需要将 3 设置为 /proc/cpu/alignment 但是这个文件在我的 os 中存在(只有 armv7 raspberry 内核有这个文件,armv8 和 x64 内核没有)
对齐陷阱在任何 arm64 内核上都不可用
https://github.com/raspberrypi/linux/issues/2283
我怎样才能/proc/cpu/alignment到达?
我需要检查应用程序是否存在未对齐的内存访问。 根据 https://www.kernel.org/doc/Documentation/arm/mem_alignment 我需要将 3 设置为 /proc/cpu/alignment 但是这个文件在我的 os 中存在(只有 armv7 raspberry 内核有这个文件,armv8 和 x64 内核没有)
对齐陷阱在任何 arm64 内核上都不可用 https://github.com/raspberrypi/linux/issues/2283