On Fri, Dec 02, 2016 at 02:56:43PM +0100, Michal Hocko wrote: > On Mon 14-11-16 15:07:36, Huang Shijie wrote: > > This patch changes the return type to "struct page*" for > > alloc_fresh_gigantic_page(). > > OK, this makes somme sense. Other hugetlb allocation function (and page > allocator in general) return struct page as well. Besides that int would > make sense if we wanted to convey an error code but 0 vs. 1 just doesn't > make any sense. > > But if you are changing that then alloc_fresh_huge_page should be > changed as well. Okay. > > > This patch makes preparation for later patch. > > > > Signed-off-by: Huang Shijie <shijie.huang@xxxxxxx> > > Acked-by: Michal Hocko <mhocko@xxxxxxxx> Thanks a lot. Thanks Huang Shijie -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>