Re: [PATCH 7/9] mm: remove flags argument to mmap_region

2013-01-02 Thread Rik van Riel
On 12/20/2012 07:49 PM, Michel Lespinasse wrote: After the MAP_POPULATE handling has been moved to mmap_region() call sites, the only remaining use of the flags argument is to pass the MAP_NORESERVE flag. This can be just as easily handled by do_mmap_pgoff(), so do that and remove the mmap_region

[PATCH 7/9] mm: remove flags argument to mmap_region

2012-12-20 Thread Michel Lespinasse
After the MAP_POPULATE handling has been moved to mmap_region() call sites, the only remaining use of the flags argument is to pass the MAP_NORESERVE flag. This can be just as easily handled by do_mmap_pgoff(), so do that and remove the mmap_region() flags parameter. Signed-off-by: Michel Lespinas