Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp168200iob; Mon, 2 May 2022 16:08:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyc7Jvq8AVaWkwwxNVeykWgwnRgVHlJDPGpbYuZKeg7k4M1vSMS27LheekdLkX5zhdgWimV X-Received: by 2002:a17:90a:e507:b0:1d9:5cdd:b16d with SMTP id t7-20020a17090ae50700b001d95cddb16dmr1583351pjy.105.1651532908301; Mon, 02 May 2022 16:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651532908; cv=none; d=google.com; s=arc-20160816; b=B/5DI1F9T9eiUik/HHACNwFwjKD24MonddR/hDd3jzIqWegMsF5WAN3DlboIHpsz94 sUV0an/GounptN/5Y1EEUCEjMywOHkak8Pzs0iLJ+h2K6uxmZ9pAuPDdEdj/KhfeuBz4 CDG4lhemXWxYEa9wTs0IL0SBl+hUcePJq6j2WR0m7t1m/MdKaadl0sM1AEEEyM7tl1Ww MJ/crak6v+BGG9IGdCbc3N1IQ8G2bKMcNrtu8Ga1YYE5hiuRF2h7VHzdvCjDz7YG2nGB iC2zw4rPdc9+Nc+dna0P6zDvjvgLtFB14S8C35FWW4rsoE9HUSL4e7jy3xdBygGP+3UB Cpxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=sSK/o9FhKlUdMjW2NdP5Bg7dQkRtO4bEr5mQPkXPNXs=; b=YtamukPsv1KzBstGCrgRPJeUWs4QBTqvjuseAi1OeUSlfaQu2IWZ3lmT1uVI6PkFqz 42TJ0b8PKDulTVKBzBUYj7K4U4N56dONTs99CL/eP889XIIfHw5Wv36ZDs640q6GyRTJ KbwSWHdzrgz7QHravDsXxIs8Js2rGllgFauqRFSBWxUKlfG8zfHO28rjZeXcKpW0sezs p1jr8551N12UQzQyPHEoWwHnvWWABPD+RaPxp30mYibB+TyBoeh4pvXG6BKBQXTsoHG8 K1SXan0H3VunniaOXeDiSfppBQH23pwiclzMaMryoxiL73UcH44fv/N4qqL2wtlnWxUg XNKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=tP5uiMha; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id kb12-20020a17090ae7cc00b001cd476d0e71si697214pjb.82.2022.05.02.16.08.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 16:08:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=tP5uiMha; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D0E322ED44; Mon, 2 May 2022 16:08:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378450AbiD2QGo (ORCPT + 99 others); Fri, 29 Apr 2022 12:06:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378762AbiD2QGm (ORCPT ); Fri, 29 Apr 2022 12:06:42 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9095E72E0F; Fri, 29 Apr 2022 09:03:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651248204; x=1682784204; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=sSK/o9FhKlUdMjW2NdP5Bg7dQkRtO4bEr5mQPkXPNXs=; b=tP5uiMhaIEVwDhNNk++kQsCk2nBi9S34OJdiD03ws7NkRWf4Znij5z/u W3EhPQXpcoybhPU/fBorMt33oYchbgJJpicbuc0SuTN53fqTJ1gPa+Qep nOys+pnbPvmBquqxxpVrtYdc81gkakqZ3wZm1+CLrBSuguCn8NAT4T7cy 4=; 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-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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