]> err.no Git - linux-2.6/commit
iwlwifi: memory allocation optimization
authorGregory Greenman <gregory.greenman@intel.com>
Mon, 4 Aug 2008 08:00:40 +0000 (16:00 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Aug 2008 19:09:12 +0000 (15:09 -0400)
commitda99c4b6c25964b90c79f19beccda208df1a865a
treeb16752072e71c6491e18c3ef50e064d858a66452
parent4c43e0d0ecd5196ed5c67f64ed2f1860770eed34
iwlwifi: memory allocation optimization

This patch optimizes memory allocation. The cmd member of
iwl_tx_queue was allocated previously as a continuous block
of memory. This patch allocates separate memory chunks for each command
and maps/unmaps these chunks in the run time.

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-5000.c
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-hcmd.c
drivers/net/wireless/iwlwifi/iwl-tx.c