Re: [PATCH v7 11/14] x86/mm: Cap flush_tlb_info alignment at 64 bytes

From: Nadav Amit

Date: Thu Jun 11 2026 - 11:39:01 EST




On 09/06/2026 12:17, Chuyi Zhou wrote:

+#if SMP_CACHE_BYTES > 64
+#define FLUSH_TLB_INFO_ALIGN 64
+#else
+#define FLUSH_TLB_INFO_ALIGN SMP_CACHE_BYTES
+#endif
+

How about instead doing:

#define FLUSH_TLB_INFO_ALIGN MIN(SMP_CACHE_BYTES, 64)

?