From: Miao Wang Date: Mon, 22 Jun 2026 07:49:26 +0000 (+0800) Subject: Configure: set cache line size for loongarch64 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/stylesheets/print.css?a=commitdiff_plain;h=be84ac8bda2265d254f3ead9c3f0ba1d78a79319;p=nginx.git Configure: set cache line size for loongarch64 Section 8.2 table 54, registers 0x11 - 0x14 (2^6 = 64 bytes) There is no intent to cover 32-bit LoongArch which acceptably falls through to the default. --- diff --git a/auto/os/conf b/auto/os/conf index bb0ce4ef2..f241d8199 100644 --- a/auto/os/conf +++ b/auto/os/conf @@ -130,6 +130,11 @@ case "$NGX_MACHINE" in NGX_MACH_CACHE_LINE=256 ;; + loongarch64) + have=NGX_ALIGNMENT value=16 . auto/define + NGX_MACH_CACHE_LINE=64 + ;; + *) have=NGX_ALIGNMENT value=16 . auto/define NGX_MACH_CACHE_LINE=32