comparison auto/os/conf @ 4729:4ff2131dbce5 stable-1.2

Merge of r4691: changed default alignment to 16. This fixes alignment problems observerd on ARMs, and likely also needed for MIPSes. Unless we know alignment is not required just assume we need 16, which appears to be safe default for all architectures. See here for details: http://mailman.nginx.org/pipermail/nginx/2012-June/034139.html
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 02 Jul 2012 17:08:26 +0000
parents d620f497c50f
children 489839d07b38
comparison
equal deleted inserted replaced
4728:fc62b72f7597 4729:4ff2131dbce5
91 # TODO 91 # TODO
92 NGX_MACH_CACHE_LINE=64 92 NGX_MACH_CACHE_LINE=64
93 ;; 93 ;;
94 94
95 *) 95 *)
96 have=NGX_ALIGNMENT value=16 . auto/define
96 NGX_MACH_CACHE_LINE=32 97 NGX_MACH_CACHE_LINE=32
97 ;; 98 ;;
98 99
99 esac 100 esac
100 101