Get the latest tech news

A Time Consuming Pitfall for 32-Bit Applications on AArch64


When running legacy applications on AArch64, an interesting pitfall can arise.

If you simply enable CONFIG_COMPAT without setting up CROSS_COMPILE_COMPAT to an AArch32 cross compiler, the resulting kernel won’t supply a vDSO to 32-bit applications. Instead, the kernel places sufficient information into a memory region accessible to userspace to achieve the same functionality. Utilizing the vDSO for querying the current time eliminates the need for a context switch, resulting in a faster operation.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of aarch64

aarch64

Photo of bit applications

bit applications

Related news:

News photo

GNU C Library Tuning For AArch64 Helps Memset Performance By ~24%

News photo

AWS Graviton4 vs. AmpereOne 192-Core Benchmarks For Leading AArch64 Server Performance

News photo

FEX 2408 Emulator For x86_64 Binaries On AArch64 Teases More Performance