Re: [PATCH 2/2] mm: Combine __alloc_pages and __alloc_pages_nodemask
From: Vlastimil Babka <hidden>
Date: 2021-01-26 13:47:19
From: Vlastimil Babka <hidden>
Date: 2021-01-26 13:47:19
On 1/24/21 1:03 PM, Matthew Wilcox (Oracle) wrote:
There are only two callers of __alloc_pages() so prune the thicket of alloc_pages variants by combining the two functions together. Current callers of __alloc_pages() simply add an extra 'NULL' parameter and current callers of __alloc_pages_nodemask() call __alloc_pages() instead. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Vlastimil Babka <redacted>