On Mon, Jan 21, 2019 at 07:18:24PM +0100, Michal Hocko wrote: > > > > > > So can we make a decision on this finally please? > > > > As to me David's userspace application could use /proc/$pid/status > > to fetch precise THP state. And the patch in mm queue simply breaks > > others userspace thus should be reverted. > > 7635d9cbe832 ("mm, thp, proc: report THP eligibility for each vma") will > provide even more detailed information because it displays THP > eligibility per VMA so you do not have to check all other conditions > that control THP. Thus the only thing we need is to wait for David's reply if he can update his application to use the THPeligible flag and drop the patch from mm queue