]> git.baikalelectronics.ru Git - kernel.git/commit
rionet: fix page allocation order of rionet_active
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 30 Mar 2012 01:01:46 +0000 (01:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2012 03:17:16 +0000 (23:17 -0400)
commit09b44a58e315834b3adbe2feaae9d692aa5b7aaa
tree4d11bd3fc1c943d639af8d1bd68c0eb211309d55
parent448e84941b96dfcf5fb780f6e9ff1a8aa0e74730
rionet: fix page allocation order of rionet_active

rionet_active is allocated from the page allocator and the allocation
order is calculated on the assumption that the page size is 4KB, so it
wastes memory on more than 4K page systems.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/rionet.c