RE: [nhor...@tuxdriver.com: [PATCH] libcxgbi: supress warning when we request to much space from kmalloc]

2013-04-26 Thread Karen Xie
-Original Message- From: Neil Horman [mailto:nhor...@tuxdriver.com] Sent: Friday, April 26, 2013 4:02 AM To: Karen Xie Subject: [nhor...@tuxdriver.com: [PATCH] libcxgbi: supress warning when we request to much space from kmalloc] The patch looks fine to me. Thanks, Karen

[PATCH] libcxgbi: supress warning when we request to much space from kmalloc

2013-04-23 Thread Neil Horman
cxgbi_alloc_big_mem allocates large chunks of memory, and can occasionally request amounts from kmalloc that exceed the allocators capacity. This typically leads to a stack trace from the zoned buddy allocator in the message log. But if kmalloc fails, cxgbi_alloc_big_mem backs off and uses