summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/ioctl.c
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2010-03-23 00:45:03 -0700
committerReinette Chatre <reinette.chatre@intel.com>2010-04-02 12:18:26 -0700
commitde0f60ea94e132c858caa64a44b2012e1e8580b0 (patch)
treec7269d53625c58fe69befc61c3c347f7c8faf89c /fs/ubifs/ioctl.c
parent04f2dec1c3d375c4072613880f28f43b66524876 (diff)
iwlwifi: avoid Tx queue memory allocation in interface down
We used to free all the Tx queues memory when interface is brought down and reallocate them again in interface up. This requires order-4 allocation for txq->cmd[]. In situations like s2ram, this usually leads to allocation failure in the memory subsystem. The patch fixed this problem by allocating the Tx queues memory only at the first time. Later iwl_down/iwl_up only initialize but don't free and reallocate them. The memory is freed at the device removal time. BTW, we have already done this for the Rx queue. This fixed bug https://bugzilla.kernel.org/show_bug.cgi?id=15551 Signed-off-by: Zhu Yi <yi.zhu@intel.com> Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'fs/ubifs/ioctl.c')
0 files changed, 0 insertions, 0 deletions