[nginx] svn commit: r4691 - trunk/auto/os

mdounin at mdounin.ru mdounin at mdounin.ru
Mon Jun 18 14:09:55 UTC 2012


Author: mdounin
Date: 2012-06-18 14:09:54 +0000 (Mon, 18 Jun 2012)
New Revision: 4691
URL: http://trac.nginx.org/nginx/changeset/4691/nginx

Log:
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


Modified:
   trunk/auto/os/conf

Modified: trunk/auto/os/conf
===================================================================
--- trunk/auto/os/conf	2012-06-18 14:06:00 UTC (rev 4690)
+++ trunk/auto/os/conf	2012-06-18 14:09:54 UTC (rev 4691)
@@ -93,6 +93,7 @@
     ;;
 
     *)
+        have=NGX_ALIGNMENT value=16 . auto/define
         NGX_MACH_CACHE_LINE=32
     ;;
 



More information about the nginx-devel mailing list