On 29 Mar 2024, at 3:37, Barry Song wrote: > From: Barry Song > > Fallback rates surpassing 90% have been observed on phones utilizing 64KiB > CONT-PTE mTHP. In these scenarios, when one out of every 16 PTEs fails > to allocate large folios, the remaining 15 PTEs fallback. Consequently, > invoking vma_thp_gfp_mask seems redundant in such cases. Furthermore, > abstaining from its use can also contribute to improved code readability. > > Cc: Ryan Roberts > Cc: Kefeng Wang > Cc: John Hubbard > Cc: David Hildenbrand > Cc: Alistair Popple > Cc: Anshuman Khandual > Cc: Catalin Marinas > Cc: David Rientjes > Cc: "Huang, Ying" > Cc: Hugh Dickins > Cc: Itaru Kitayama > Cc: Kirill A. Shutemov > Cc: Luis Chamberlain > Cc: Matthew Wilcox (Oracle) > Cc: Vlastimil Babka > Cc: Yang Shi > Cc: Yin Fengwei > Cc: Yu Zhao > Cc: Zi Yan > Signed-off-by: Barry Song > --- > mm/memory.c | 3 +++ > 1 file changed, 3 insertions(+) LGTM. Reviewed-by: Zi Yan -- Best Regards, Yan, Zi