diff options
author | Neven Sajko <nsajko@gmail.com> | 2020-01-07 17:17:39 +0000 |
---|---|---|
committer | Dan Cross <crossd@gmail.com> | 2020-01-13 10:08:01 -0500 |
commit | 386bd9cae471438a685234556111a01a666ca165 (patch) | |
tree | 8135ad8834d7455dc582cded0f94261939e587b8 /src/cmd/venti/ro.c | |
parent | 0b6b451b71bc116c8b98cdbbfbec3fbca6c8fc17 (diff) | |
download | plan9port-386bd9cae471438a685234556111a01a666ca165.tar.gz plan9port-386bd9cae471438a685234556111a01a666ca165.tar.bz2 plan9port-386bd9cae471438a685234556111a01a666ca165.zip |
cmd/venti/srv: split memory allocation call
This splits a certain vtmallocz call in mkihash into two vtmallocz
calls. The first issue this fixes is that the C aliasing rules were not
respected in the code before this commit. The other thing is that this
enables better memory alignment guarantees.
Updates #313
Change-Id: Ia4f3e0fc85facc778193f5e977d4f99a1a9abd23
Diffstat (limited to 'src/cmd/venti/ro.c')
0 files changed, 0 insertions, 0 deletions