Hello, On 10/8/2012 5:41 PM, Rabin Vincent wrote:
It appears that when CMA is enabled, the zone watermarks are not properly respected, leading to for example GFP_NOWAIT allocations getting access to the high pools. I ran the following test code which simply allocates pages with GFP_NOWAIT until it fails, and then tries GFP_ATOMIC. Without CMA, the GFP_ATOMIC allocation succeeds, with CMA, it fails too.
Could You run your test with latest linux-next kernel? There have been some patches merged to akpm tree which should fix accounting for free and free cma pages. I hope it should fix this issue.
Best regards -- Marek Szyprowski Samsung Poland R&D Center -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>