Commit 4d4df3cd authored by Wayne Davison's avatar Wayne Davison

Another attempt at measuring the minimum alignment for a system.

parent 62125b10
......@@ -32,7 +32,12 @@ struct pool_extent
struct pool_extent *next;
};
#define MINALIGN (sizeof (long))
struct align_test {
void *foo;
uint64 bar;
};
#define MINALIGN offsetof(struct align_test, bar)
alloc_pool_t
pool_create(size_t size, size_t quantum,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment