[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080615060447.GB2643@2ka.mipt.ru>
Date: Sun, 15 Jun 2008 10:04:47 +0400
From: Evgeniy Polyakov <johnpol@....mipt.ru>
To: Denys Fedoryshchenko <denys@...p.net.lb>
Cc: netdev@...r.kernel.org
Subject: Re: page allocation failure
Hi.
On Sun, Jun 15, 2008 at 12:02:16AM +0300, Denys Fedoryshchenko (denys@...p.net.lb) wrote:
> There is no jumbo frames in this particular setup.
> Probably it is getting out of memory (rtorrent using almost all for fs caching
> maybe).
Than it is very strange, why would it want to do order-3 allocation,
since its allocation size is calculated as follows:
rx_size = bp->dev->mtu + ETH_HLEN + bp->rx_offset + 8;
bp->rx_buf_use_size = rx_size;
/* hw alignment */
bp->rx_buf_size = bp->rx_buf_use_size + BNX2_RX_ALIGN
where rx_offset is 18 bytes and BNX2_RX_ALIGN is 16 bytes.
Network stack adds small structure at the end too, but it should not
jump out of 0-order allocation.
--
Evgeniy Polyakov
--
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