From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80255C4724C for ; Fri, 1 May 2020 18:05:24 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4580420787 for ; Fri, 1 May 2020 18:05:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="jko3caf1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4580420787 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id D1E458E0005; Fri, 1 May 2020 14:05:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CF5A48E0001; Fri, 1 May 2020 14:05:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C0BB98E0005; Fri, 1 May 2020 14:05:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0176.hostedemail.com [216.40.44.176]) by kanga.kvack.org (Postfix) with ESMTP id A933F8E0001 for ; Fri, 1 May 2020 14:05:23 -0400 (EDT) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 5F50F181AEF0B for ; Fri, 1 May 2020 18:05:23 +0000 (UTC) X-FDA: 76768927326.08.frogs41_2efc7690fee26 X-HE-Tag: frogs41_2efc7690fee26 X-Filterd-Recvd-Size: 2928 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf38.hostedemail.com (Postfix) with ESMTP for ; Fri, 1 May 2020 18:05:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=T8TeCEFacQaqvwMaPVEV2kUI4TRXCj3as4k5tOgQo2k=; b=jko3caf16NqgVbiIWi68DFq2Lv wcHsqYPSGYaAUQ40FlIeLm4GbEzh3rsAeDfGtj6ht+p/N8RCbOPQ7F6JIEcBgibjT7a1/W6j6cS3i rGv9SJ6DxPXe9eW8YzZAz7y5rBoiPwq6+k/aPeDWaAQuXBthUjZM/atx6oC1uxWSLNEa1HlQAZ+j2 ACrwwwzQ3hk+aYv4yj0AMQRdxxiaHbATua1S3Mnzf48zz2i3v5cxMA/HPHTuK61e2nIJgoDGP2DPE lQ9FhhVXbV8FC4np94ASIQuJf0vIsyPoAeY8hp1V6q20E2PaeHBKG6cf4O/zh9xSV/bu/9ZyJz8vJ e1Os0h+g==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jUa2E-0003kn-11; Fri, 01 May 2020 18:05:14 +0000 Date: Fri, 1 May 2020 11:05:13 -0700 From: Matthew Wilcox To: Song Liu Cc: Denis Lisov , Andrew Morton , "bugzilla-daemon@bugzilla.kernel.org" , "linux-mm@kvack.org" Subject: Re: [Bug 206569] BUG at mm/filemap.c:2529: VM_BUG_ON_PAGE(page_to_pgoff(page) != offset) Message-ID: <20200501180513.GB29705@bombadil.infradead.org> References: <20200219144635.3b7417145de19b65f258c943@linux-foundation.org> <20200220002520.GT24185@bombadil.infradead.org> <367AD482-11D3-44D6-94DC-ED4D395084C8@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 ;-(