[PATCH V2 1/2] mm/page_alloc: Replace set_dma_reserve to set_memory_reserve

Mel Gorman mgorman at techsingularity.net
Fri Aug 5 16:47:47 AEST 2016


On Thu, Aug 04, 2016 at 10:42:08PM +0530, Srikar Dronamraju wrote:
> Expand the scope of the existing dma_reserve to accommodate other memory
> reserves too. Accordingly rename variable dma_reserve to
> nr_memory_reserve.
> 
> set_memory_reserve also takes a new parameter that helps to identify if
> the current value needs to be incremented.
> 

I think the parameter is ugly and it should have been just
inc_memory_reserve but at least it works.

-- 
Mel Gorman
SUSE Labs


More information about the Linuxppc-dev mailing list