[PATCH 0/1] mm/cma: fix alloc_contig_range ret code/potential leak

2017-11-20 Thread Mike Kravetz
In an attempt to make contiguous allocation routines more available to drivers, I have been experimenting with code similar to that used by alloc_gigantic_page(). While stressing this code with many other allocations and frees in progress, I would sometimes notice large 'leaks' of page ranges. I

[PATCH 0/1] mm/cma: fix alloc_contig_range ret code/potential leak

2017-11-20 Thread Mike Kravetz
In an attempt to make contiguous allocation routines more available to drivers, I have been experimenting with code similar to that used by alloc_gigantic_page(). While stressing this code with many other allocations and frees in progress, I would sometimes notice large 'leaks' of page ranges. I