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 D0E3DECAAD4 for ; Sat, 27 Aug 2022 02:03:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 55EAE94000A; Fri, 26 Aug 2022 22:03:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 50DE7940007; Fri, 26 Aug 2022 22:03:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 393CE94000A; Fri, 26 Aug 2022 22:03:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 24D17940007 for ; Fri, 26 Aug 2022 22:03:25 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id EB0D41C62DA for ; Sat, 27 Aug 2022 02:03:24 +0000 (UTC) X-FDA: 79843725528.11.10300D7 Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by imf16.hostedemail.com (Postfix) with ESMTP id 7664818001A for ; Sat, 27 Aug 2022 02:03:24 +0000 (UTC) Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1661565802; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D/7slZr7aKprYNwHgvO651SPT0Z8XLhxiDf8lcRtpQw=; b=tDZZB4JRrLkqVe4E2jf4nrLsdHCCIn8o015HtLYrQN3xj39KJHXil5iV8dnAPPTXtbJecy UIPJXhTCbR15TLbIwBxx3EfH+wV3DwCOQGdGWxv7WtyIGNTomfPmdWiWSpVZzjbM0urfrz 1NQUuRgjfzsnqMHIzpO0VYTA7Wk+Q1I= MIME-Version: 1.0 Subject: Re: [PATCH 09/10] hugetlb: remove meaningless BUG_ON(huge_pte_none()) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20220826092422.39591-10-linmiaohe@huawei.com> Date: Sat, 27 Aug 2022 10:03:19 +0800 Cc: Andrew Morton , Mike Kravetz , Muchun Song , Linux MM , linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <399D37BF-B33B-476F-97D4-AEB812316617@linux.dev> References: <20220826092422.39591-1-linmiaohe@huawei.com> <20220826092422.39591-10-linmiaohe@huawei.com> To: Miaohe Lin X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=tDZZB4JR; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf16.hostedemail.com: domain of muchun.song@linux.dev designates 91.121.223.63 as permitted sender) smtp.mailfrom=muchun.song@linux.dev ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1661565804; a=rsa-sha256; cv=none; b=5PtXoF/GHyqagl+3J4In+kMtzK5m9eFs5CeKSwlBnvPQg2KOVuNFLoHueQYIOT0eyp/i7g yrzvMOT6+SJtEsw5Md14eL3u0EynPB2n0Rc2R0fRElulprhvl4AFuM9RtOMFGU/Ngbl2mj 7yLBIzhB37vYdd0wOXLIK9yoDSCiq0I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1661565804; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=D/7slZr7aKprYNwHgvO651SPT0Z8XLhxiDf8lcRtpQw=; b=fZ/Ina8ahdfAgbU6xkRPYqpfQ8bpoSaUxUnQwlQm6FppRIwUPMgHZZlIj74RVXbcI0goXG MbrfPOPkBKHPnTMeUgOTp6qEB0JMyx9YVt+SC07hpF3ok5FV4284kMHLsCh+PNEOC/psrU 5MLoVtCmRP3foIav2YyVOIabC3pt3tk= X-Rspam-User: X-Rspamd-Queue-Id: 7664818001A Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=tDZZB4JR; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf16.hostedemail.com: domain of muchun.song@linux.dev designates 91.121.223.63 as permitted sender) smtp.mailfrom=muchun.song@linux.dev X-Stat-Signature: hu3nqye6xbkf7cegrdwuoetsreq74roa X-Rspamd-Server: rspam03 X-HE-Tag: 1661565804-383152 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 Aug 26, 2022, at 17:24, Miaohe Lin wrote: > > When code reaches here, invalid page would have been accessed if huge pte > is none. So this BUG_ON(huge_pte_none()) is meaningless. Remove it. > > Signed-off-by: Miaohe Lin Reviewed-by: Muchun Song Thanks.