aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-03-30 09:16:39 +0000
committerJohn Crispin <blogic@openwrt.org>2014-03-30 09:16:39 +0000
commitc2d755eb76cce43b41fc26d20f08ac66a24eb83c (patch)
tree7b6bfb58dfa2134a174176c128ade027c118961f /package/network
parentcd9f4bad16c6e5f6f94218ff17ba5d1a71cef2f7 (diff)
downloadmaster-187ad058-c2d755eb76cce43b41fc26d20f08ac66a24eb83c.tar.gz
master-187ad058-c2d755eb76cce43b41fc26d20f08ac66a24eb83c.tar.bz2
master-187ad058-c2d755eb76cce43b41fc26d20f08ac66a24eb83c.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40325 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
0 files changed, 0 insertions, 0 deletions