commit | 31bfb3e7b0c48009c64a1375f6b8e5e7c5a29cdc | [log] [tgz] |
---|---|---|
author | Jason Evans <je@fb.com> | Mon Jan 31 19:58:22 2011 -0800 |
committer | Jason Evans <je@fb.com> | Mon Jan 31 19:58:22 2011 -0800 |
tree | 321413b07299517e47cdc88a48a7dbd7223b6a52 | |
parent | f256680f878cf3d4f9eb377ff345a90ef4845e75 [diff] |
Fix an alignment-related bug in huge_ralloc(). Fix huge_ralloc() to call huge_palloc() only if alignment requires it. This bug caused under-sized allocation for aligned huge reallocation (via rallocm()) if the requested alignment was less than the chunk size (4 MiB by default).