memory saving patch to dosfsck
Bug #189184 reported by
Kimmo Hämäläinen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dosfstools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dosfstools
This patch saves about 25% of RAM (about 4MB for every 2GB of space) when checking an FAT file system. This is important especially in mobile devices using large FAT file systems. The patch was written by Eero Tamminen (eero.tamminen at nokia.com).
"Attached patch uses always the memory allocated for the first FAT. If second
FAT is better, it's contents are just copied to memory allocated for reading
the first FAT. When checking 2GB card, it saves almost 4MB of RAM, for 8GB
card the saved amount would be significantly larger." -- Eero
To post a comment you must log in.
To get your fix included in Ubuntu, try transforming it into a debdiff (http:// wiki.ubuntu. com/PackagingGu ide/Recipes/ Debdiff) and submitting it for review (http:// wiki.ubuntu. com/Sponsorship Process).
Marking 'incomplete' for now.