fast modutils
walter harms
wharms at bfs.de
Fri Oct 10 10:08:51 UTC 2008
dronnikov at gmail.com schrieb:
> Just realized that the problem of unaligned access to the data in modules.dep.bb can be solved at once by padding the records using:
> size := (size + (4-1)) / 4 * 4,
> where size is the size of the record, 4 is sizeof(uint32_t).
>
> Attached is the patch for fast modutils.
just a bit salt:
on 64bit boxes you may need an alignment of 8.
gcc has an attribute (aligned) is this something you may like ?
re,
wh
More information about the busybox
mailing list