> On May 1, 2020, at 11:05 AM, Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote: > > On Wed, Feb 26, 2020 at 10:44:29PM +0000, Song Liu wrote: >> On my VM, I saw khugepaged put .text of python binary in 2MB pages. >> This is caused by khugepaged_always() == true in hugepage_vma_check(). >> I guess this means the bug exists w/o CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS, >> but CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS makes it easier to trigger. >> >> However, I haven't got luck to repro this issue. > > I fixed something as part of the large pages work which might have also > fixed this problem. However, you have CONFIG_DEBUG_VM enabled, so it > would have actually triggered the bug. > > http://git.infradead.org/users/willy/linux-dax.git/commitdiff/2f864b6c27caa737ccfe65a86972f6b73a66a095 > > I don't think anything else I've changed will fix this bug, whatever it is ;-( I am testing with 5.5.3. However, I still got no luck here. :( I haven't figured out how to build KDE in Gentoo. I tried to build kernel, many many times, without repro of the issue. Denis, could you please share some information about your test system: 1. # of CPUs; 2. size of RAM; 3. size of swap, if any; 4. .config file of the kernel that repros the issue. Thanks, Song