summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/ase/config-default
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-03-30 09:16:39 +0000
committerJohn Crispin <john@openwrt.org>2014-03-30 09:16:39 +0000
commit3fbffbb7b018f3ac7d9bece160d3af74ec6b9312 (patch)
treed6145d0886f93ff50af5fb88c83eb89f6232cdc6 /target/linux/lantiq/ase/config-default
parent8b0507c9ca55ca6ee2bc0a83f02a5b636d39b198 (diff)
downloadmtk-20170518-3fbffbb7b018f3ac7d9bece160d3af74ec6b9312.zip
mtk-20170518-3fbffbb7b018f3ac7d9bece160d3af74ec6b9312.tar.gz
mtk-20170518-3fbffbb7b018f3ac7d9bece160d3af74ec6b9312.tar.bz2
ltq-adsl-mei: improve memory allocation
The ltq-adsl-mei driver allocates memory for the ADSL firmware in a rather stupid way, leading to several 128k allocations, which fail when many services are enabled. This patch tries to allocate 64 kiB chunks, and only falls back to larger allocations if the returned pointers are not correctly aligned. Fixes out-of-memory errors on Danube boards with 32 MiB RAM. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 40325
Diffstat (limited to 'target/linux/lantiq/ase/config-default')
0 files changed, 0 insertions, 0 deletions