From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: Denys Fedoryshchenko <denys@visp.net.lb>
Cc: netdev@vger.kernel.org
Subject: Re: page allocation failure
Date: Sun, 15 Jun 2008 10:04:47 +0400 [thread overview]
Message-ID: <20080615060447.GB2643@2ka.mipt.ru> (raw)
In-Reply-To: <20080614205958.M55299@visp.net.lb>
Hi.
On Sun, Jun 15, 2008 at 12:02:16AM +0300, Denys Fedoryshchenko (denys@visp.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
prev parent reply other threads:[~2008-06-15 6:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-14 2:25 page allocation failure Denys Fedoryshchenko
2008-06-14 6:58 ` Evgeniy Polyakov
2008-06-14 21:02 ` Denys Fedoryshchenko
2008-06-14 21:36 ` Ben Hutchings
2008-06-15 6:04 ` Evgeniy Polyakov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080615060447.GB2643@2ka.mipt.ru \
--to=johnpol@2ka.mipt.ru \
--cc=denys@visp.net.lb \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).