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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7B81C433FE for ; Fri, 29 Apr 2022 16:03:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EAB246B0074; Fri, 29 Apr 2022 12:03:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E334D6B0075; Fri, 29 Apr 2022 12:03:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CAE596B0078; Fri, 29 Apr 2022 12:03:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.28]) by kanga.kvack.org (Postfix) with ESMTP id B6A896B0074 for ; Fri, 29 Apr 2022 12:03:26 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 9211A989 for ; Fri, 29 Apr 2022 16:03:26 +0000 (UTC) X-FDA: 79410386412.14.E99FEEE Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by imf21.hostedemail.com (Postfix) with ESMTP id 83E921C002F for ; Fri, 29 Apr 2022 16:03:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651248205; x=1682784205; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=sSK/o9FhKlUdMjW2NdP5Bg7dQkRtO4bEr5mQPkXPNXs=; b=Ul9gs/AwQmHcSFxRKGSQasai2yOA4appYikNUFShAz+mXjBMBLQ/9AsN YZxCbpS/Xnf+nzJQ8UH7GlCXQrZvqk6vY15V29t+/pVM1bpMpI1KrtS81 xsEbUNI8bOlVUy+2C1Xaww6oSlNZx3AcSA3eynq6uy/OPXbs0EfJILItf k=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-01.qualcomm.com with ESMTP; 29 Apr 2022 09:03:24 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2022 09:03:23 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Fri, 29 Apr 2022 09:03:22 -0700 Received: from qian (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Fri, 29 Apr 2022 09:03:19 -0700 Date: Fri, 29 Apr 2022 12:03:17 -0400 From: Qian Cai To: Naresh Kamboju CC: Linux-Next Mailing List , linux-mm , open list , , Andrew Morton , Stephen Rothwell , Arnd Bergmann , "Zi Yan" , Christophe Leroy , "David Hildenbrand" , Eric Ren , "kernel test robot" , Mel Gorman , "Mike Rapoport" , Minchan Kim , "Oscar Salvador" , Vlastimil Babka , Chen Wandun , NeilBrown , , , Wei Yang , Song Liu Subject: Re: [next] mm: libhugetlbfs: WARNING: at mm/page_alloc.c:5368 __alloc_pages Message-ID: <20220429160317.GA71@qian> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 83E921C002F X-Stat-Signature: cm5wf4uoidnrwjz4o9rbuzwnwkpx3bto Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=quicinc.com header.s=qcdkim header.b="Ul9gs/Aw"; dmarc=pass (policy=none) header.from=quicinc.com; spf=pass (imf21.hostedemail.com: domain of quic_qiancai@quicinc.com designates 199.106.114.38 as permitted sender) smtp.mailfrom=quic_qiancai@quicinc.com X-Rspam-User: X-HE-Tag: 1651248201-805709 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 Fri, Apr 29, 2022 at 04:50:25PM +0530, Naresh Kamboju wrote: > Following kernel warning notices on Linux next-20220427 till date next-20220429 > on qemu_arm64 and arm64 devices. > > While testing libhugetlbfs test suite and ltp mm and hugetlb. > > Reported-by: Linux Kernel Functional Testing > > Test log: > ---------- > truncate_above_4GB (2M: 64): PASS > brk_near_huge (2M: 64): brk_near_huge: malloc.c:2401: sysmalloc: > Assertion `(old_top == initial_top (av) && old_size == 0) || > ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && > ((unsigned long) old_end & (pagesize - 1)) == 0)' failed. > [ 15.685019] audit: type=1701 audit(1651222753.772:25): > auid=4294967295 uid=0 gid=0 ses=4294967295 pid=454 > comm=\"brk_near_huge\" > exe=\"/usr/lib/libhugetlbfs/tests/obj64/brk_near_huge\" sig=6 res=1 > [ 15.685629] ------------[ cut here ]------------ > [ 15.685631] WARNING: CPU: 2 PID: 454 at mm/page_alloc.c:5368 Naresh, I am having difficult to reproduce this reliablely. If you have spare cycles, do you mind reverting those to see if you can still reproduce? I can't seems to find other recent commits more suspicious than that series. 37e73e3b0a9d drivers: virtio_mem: use pageblock size as the minimum virtio_mem size. d2b9cd2acb2b mm: cma: use pageblock_order as the single alignment 7f125582227e mm: page_isolation: enable arbitrary range page isolation. fb009b307b21 mm: make alloc_contig_range work at pageblock granularity 7c7e18d510f4 mm: page_isolation: check specified range for unmovable pages 6a242a94b883 mm: page_isolation: move has_unmovable_pages() to mm/page_isolation.c $ git revert --no-edit e389355485b7..37e73e3b0a9d