fast modutils

dronnikov at gmail.com dronnikov at gmail.com
Thu Oct 9 18:03:31 UTC 2008


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.

Please, comment and consider applying.

TIA,
--
Vladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fast.patch.bz2
Type: application/octet-stream
Size: 7745 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20081009/e0b7c84d/attachment-0002.obj 


More information about the busybox mailing list