diff options
author | John Crispin <john@openwrt.org> | 2014-03-30 09:16:39 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-03-30 09:16:39 +0000 |
commit | 3fbffbb7b018f3ac7d9bece160d3af74ec6b9312 (patch) | |
tree | d6145d0886f93ff50af5fb88c83eb89f6232cdc6 /target/linux/generic/patches-3.3/082-USB-EHCI-Add-a-generic-platform-device-driver.patch | |
parent | 8b0507c9ca55ca6ee2bc0a83f02a5b636d39b198 (diff) | |
download | upstream-3fbffbb7b018f3ac7d9bece160d3af74ec6b9312.tar.gz upstream-3fbffbb7b018f3ac7d9bece160d3af74ec6b9312.tar.bz2 upstream-3fbffbb7b018f3ac7d9bece160d3af74ec6b9312.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>
SVN-Revision: 40325
Diffstat (limited to 'target/linux/generic/patches-3.3/082-USB-EHCI-Add-a-generic-platform-device-driver.patch')
0 files changed, 0 insertions, 0 deletions