Messages in this thread | | | Date | Mon, 16 Nov 2015 13:14:49 -0800 (PST) | From | David Rientjes <> | Subject | Re: [PATCH 1/2] mm: get rid of __alloc_pages_high_priority |
| |
On Mon, 16 Nov 2015, mhocko@kernel.org wrote:
> From: Michal Hocko <mhocko@suse.com> > > __alloc_pages_high_priority doesn't do anything special other than it > calls get_page_from_freelist and loops around GFP_NOFAIL allocation > until it succeeds. It would be better if the first part was done in > __alloc_pages_slowpath where we modify the zonelist because this would > be easier to read and understand. Opencoding the function into its only > caller allows to simplify it a bit as well. > > This patch doesn't introduce any functional changes. > > Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: David Rientjes <rientjes@google.com>
| |