Re: [PATCH] mm/hugetlb: remove a meaningless if statement in gigantic page initialization

2021-02-02 Thread Xu, Yanfei
On 2/2/21 6:06 PM, David Hildenbrand wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] On 02.02.21 11:12, yanfei...@windriver.com wrote: From: Yanfei Xu Gigantic page is a compound page and its order is more than 1. Thus it must be available for hpage_pincount. Let's rem

Re: [PATCH] mm/hugetlb: remove a meaningless if statement in gigantic page initialization

2021-02-02 Thread David Hildenbrand
On 02.02.21 11:12, yanfei...@windriver.com wrote: From: Yanfei Xu Gigantic page is a compound page and its order is more than 1. Thus it must be available for hpage_pincount. Let's remove this meaningless if statement. Signed-off-by: Yanfei Xu --- mm/hugetlb.c | 4 +--- 1 file changed, 1 i

[PATCH] mm/hugetlb: remove a meaningless if statement in gigantic page initialization

2021-02-02 Thread yanfei . xu
From: Yanfei Xu Gigantic page is a compound page and its order is more than 1. Thus it must be available for hpage_pincount. Let's remove this meaningless if statement. Signed-off-by: Yanfei Xu --- mm/hugetlb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mm/hugetlb.c