Re: Regression from 2.6.36
From: Eric Dumazet
Date: Thu Apr 07 2011 - 11:36:55 EST
Le jeudi 07 avril 2011 Ã 23:27 +0800, Changli Gao a Ãcrit :
> azurlt, would you please test the patch attached? Thanks.
>
Yes of course, I meant to reverse the patch
(use kmalloc() under PAGE_SIZE, vmalloc() for 'big' allocs)
Dont fallback to vmalloc if kmalloc() fails.
if (size <= PAGE_SIZE)
return kmalloc(size, GFP_KERNEL);
else
return vmalloc(size);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/