diff options
author | Hugh Dickins <hugh.dickins@tiscali.co.uk> | 2009-06-16 22:31:50 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-17 02:47:31 (GMT) |
commit | 6c0db4664b49417d80988953e69c323721353227 (patch) | |
tree | 83ec1fcf3607b06c8c3cc2d39b5d10a61289cdd6 /include/linux/gfp.h | |
parent | 58568d2a8215cb6f55caf2332017d7bdff954e1c (diff) | |
download | linux-fsl-qoriq-6c0db4664b49417d80988953e69c323721353227.tar.xz |
mm: alloc_large_system_hash check order
On an x86_64 with 4GB ram, tcp_init()'s call to alloc_large_system_hash(),
to allocate tcp_hashinfo.ehash, is now triggering an mmotm WARN_ON_ONCE on
order >= MAX_ORDER - it's hoping for order 11. alloc_large_system_hash()
had better make its own check on the order.
Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: David Miller <davem@davemloft.net>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Eric Dumazet <dada1@cosmosbay.com>
Cc: Christoph Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/gfp.h')
0 files changed, 0 insertions, 0 deletions