diff options
author | Thomas Jarosch <tomj@simonv.com> | 2015-01-02 01:06:06 +0100 |
---|---|---|
committer | Thomas Jarosch <tomj@simonv.com> | 2015-01-02 01:11:54 +0100 |
commit | 726537508737351d028c6730d30d9ec38fa34e4e (patch) | |
tree | 164a21a8aaee0ac2f868196b5d6c7433126a04e3 /tools/release/sims.pl | |
parent | 9076b433d18b5db1a1987fe99ca7c70808f22b0e (diff) | |
download | rockbox-726537508737351d028c6730d30d9ec38fa34e4e.tar.gz rockbox-726537508737351d028c6730d30d9ec38fa34e4e.zip |
Shortcuts: Add move callback for buflib allocations
If we don't provide a callback to buflib_alloc(),
the buffer is always movable (to reduce fragmentation).
We were passing around buffers to multiple functions
that call yield() and might trigger buflib compaction.
-> add locking while we are working on the buffers.
Also added source code comments that explain
why we added the locking in that particular section.
Change-Id: Ie32867b0b735ddb2905fd4bd51342f61035f836f
Diffstat (limited to 'tools/release/sims.pl')
0 files changed, 0 insertions, 0 deletions