[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACVXFVPX1NB5uJ6yXkNbDWoX4OVdYfRU_=tsWC529-tH+3WfDA@mail.gmail.com>
Date: Sat, 1 Sep 2012 13:11:32 +0800
From: Ming Lei <ming.lei@...onical.com>
To: linux-wireless@...r.kernel.org
Cc: netdev@...r.kernel.org, Ming Lei <ming.lei@...onical.com>,
ath9k-devel@...ts.ath9k.org,
"Luis R. Rodriguez" <mcgrof@....qualcomm.com>,
Jouni Malinen <jouni@....qualcomm.com>,
Vasanthakumar Thiagarajan <vthiagar@....qualcomm.com>,
Senthil Balasubramanian <senthilb@....qualcomm.com>,
"John W. Linville" <linville@...driver.com>
Subject: Re: [PATCH -next v1] wireless: ath9k-htc: only load firmware in need
On Tue, Aug 21, 2012 at 4:04 PM, Ming Lei <ming.lei@...onical.com> wrote:
> It is not necessary to hold the firmware memory during the whole
> driver lifetime, and obviously it does waste memory. Suppose there
> are 4 ath9k-htc usb dongles working, kernel has to consume about
> 4*50KBytes RAM to cache firmware for all dongles. After applying the
> patch, kernel only caches one single firmware image in RAM for
> all ath9k-htc devices just during system suspend/resume cycle.
>
> When system is ready for loading firmware, ath9k-htc can request
> the loading from usersapce. During system resume, ath9k-htc still
> can load the firmware which was cached in kernel memory before
> system suspend.
>
> Cc: ath9k-devel@...ts.ath9k.org
> Cc: "Luis R. Rodriguez" <mcgrof@....qualcomm.com>
> Cc: Jouni Malinen <jouni@....qualcomm.com>
> Cc: Vasanthakumar Thiagarajan <vthiagar@....qualcomm.com>
> Cc: Senthil Balasubramanian <senthilb@....qualcomm.com>
> Cc: "John W. Linville" <linville@...driver.com>
> Signed-off-by: Ming Lei <ming.lei@...onical.com>
> ---
> v1:
> fix double free of firmware in failue path of
> ath9k_hif_usb_firmware_cb
Gentle ping, :-)
Thanks,
--
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists