On 11/4/24 9:19 PM, Alexei Starovoitov wrote:
On Mon, Nov 4, 2024 at 7:44 PM Yonghong Song <yonghong.song@xxxxxxxxx> wrote:Agree. I use alignment 16 to cover all architectures. for x86_64, alignment 8 is used. I did some checking in arch/ directory.hmm. I'm pretty sure x86 psABI requires 16-byte stack alignment, but I don't know why.
One possible reason is to accommodate values like int128 or 128bit floating point. I will make percpu allocation with 16 byte alignment.