diff options
author | Jason Wang <[email protected]> | 2013-01-23 03:59:12 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-01-23 13:47:06 -0500 |
commit | edfb6a148ce62e5e19354a1dcd9a34e00815c2a1 (patch) | |
tree | 839be5ca970b47e5b5fa38c9df3e672732ef6987 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
parent | 844e88f04410cc4e85615db519c1d44089333c4f (diff) |
tuntap: reduce memory using of queues
A MAX_TAP_QUEUES(1024) queues of tuntap device is always allocated
unconditionally even userspace only requires a single queue device. This is
unnecessary and will lead a very high order of page allocation when has a high
possibility to fail. Solving this by creating a one queue net device when
userspace only use one queue and also reduce MAX_TAP_QUEUES to
DEFAULT_MAX_NUM_RSS_QUEUES which can guarantee the success of
the allocation.
Reported-by: Dirk Hohndel <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Michael S. Tsirkin <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions