]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: Use order 2 RX buffer allocation only if necessary
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 19 May 2011 16:48:45 +0000 (11:48 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 May 2011 19:43:30 +0000 (15:43 -0400)
commited585ee54fb1eec2cfaebfc18480e439f2a5c9b8
tree6388a7f514503194871f18319ed24e795e845126
parentbd7647cac8a66e136dae7ae137303093793bec35
rtlwifi: Use order 2 RX buffer allocation only if necessary

Although a previous fix handles the kernel panics that result from
failure to allocate a new RX buffer, memory fragmentation can be
reduced if the amsdu_8k capability is disabled as new buffers need only
be of O(0), not O(2).

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/pci.c