lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ