Fix allocb's alignment to 32 bytes.
authorRonald G. Minnich <rminnich@google.com>
Fri, 17 Jan 2014 17:50:57 +0000 (09:50 -0800)
committerRonald G. Minnich <rminnich@google.com>
Fri, 17 Jan 2014 17:50:57 +0000 (09:50 -0800)
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/src/ns/allocb.c

index 2cf1c80..02bd502 100644 (file)
@@ -17,7 +17,7 @@ enum
 {
        Hdrspc          = 64,           /* leave room for high-level headers */
        Bdead           = 0x51494F42,   /* "QIOB" */
-       BY2V            = sizeof(uint64_t),
+       BY2V            = 32,           /* best practice learned the hard way */
 };
 
 struct