Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp2285908pxb; Sat, 19 Feb 2022 07:12:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxW9fZNAla6gFxPFJyLAAY/2lyrtuoLYL8/NMJOupPFZouMfV1u5FuDDAqv4EsZzYnZBaDY X-Received: by 2002:a63:d23:0:b0:364:f37b:947d with SMTP id c35-20020a630d23000000b00364f37b947dmr10126391pgl.263.1645283548230; Sat, 19 Feb 2022 07:12:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645283548; cv=none; d=google.com; s=arc-20160816; b=giffIR9YzGU/6tHZKBu5lwOkcZNQc2Uj9IfajTWuYcQ4P4ILuuimPAMdPFSCZ1sjUo LP+/Cop53LwQB94zkstYeXoorXpIAmT+9V/lX+s8j1erdZxH8qnJx+dMS9ugN5HFuUb/ n8liw7PZBfqbmX//s8DPos65QejP2hqs8foJ4qA4rIRBs/IG9F3jPK2R1zOL7BWgcsC0 4iJn0BiEdltcr2bvct8azDcH+z0wcz/1Kdcwy7SVam3eYSxnMsQkkV3RVn5PeqfsQRtQ puwe2rYbUvJNFaL+21nM6J3bF3FUNIXCvE31Mfk01WwXOkfehMegdY9XbM1M/uOPTDxT oD5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0CoxDrFmw0ylrhyo3VK3s9CQ9/zFnHeMYndFdOPN7qg=; b=KAGAeKCCLala9AWw5vdAZefLPqgzjosEtGbk4Mp00bT4Sf2N82OOzXWdSjCCGAwdcX eTYPJAaorFVHk+LKQ3HnsKgXWGy0cKuCuUWxpH2oVvVJHLNSnnVIRnMnNdPl1Ncnj4/x 40vvhrcKRiExpZlsRoh9UXUrVs+nYuhdZL/159gXM9oModKZgIOe1o/wv/xXScfYbxQY ueCUUUb8iX4VHH/drAjN7srRu277n6k3U/3XXqKVhtlI4b1btlzcSl0NpMHQuU9QNDIU WnaDI10IkSkMpjo1pySReFpr//u8dRFGHT2ZKGptCKm7/3jVrsAyoPp+QdCzM/BqfvwT W28g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17si28362720plh.327.2022.02.19.07.12.11; Sat, 19 Feb 2022 07:12:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241797AbiBSJ0n (ORCPT + 99 others); Sat, 19 Feb 2022 04:26:43 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241774AbiBSJ0j (ORCPT ); Sat, 19 Feb 2022 04:26:39 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 881CE24CCDE for ; Sat, 19 Feb 2022 01:26:21 -0800 (PST) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4K133k2NlszbbYf; Sat, 19 Feb 2022 17:21:54 +0800 (CST) Received: from huawei.com (10.175.124.27) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Sat, 19 Feb 2022 17:26:19 +0800 From: Miaohe Lin To: CC: , , , Subject: [PATCH 2/9] mm/z3fold: remove obsolete comment in z3fold_alloc Date: Sat, 19 Feb 2022 17:25:26 +0800 Message-ID: <20220219092533.12596-3-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20220219092533.12596-1-linmiaohe@huawei.com> References: <20220219092533.12596-1-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.27] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 The highmem pages are supported since commit f1549cb5ab2b ("mm/z3fold.c: allow __GFP_HIGHMEM in z3fold_alloc"). Remove the residual comment. Signed-off-by: Miaohe Lin --- mm/z3fold.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/mm/z3fold.c b/mm/z3fold.c index e86aafea6599..87689f50f709 100644 --- a/mm/z3fold.c +++ b/mm/z3fold.c @@ -1064,9 +1064,6 @@ static void z3fold_destroy_pool(struct z3fold_pool *pool) * performed first. If no suitable free region is found, then a new page is * allocated and added to the pool to satisfy the request. * - * gfp should not set __GFP_HIGHMEM as highmem pages cannot be used - * as z3fold pool pages. - * * Return: 0 if success and handle is set, otherwise -EINVAL if the size or * gfp arguments are invalid or -ENOMEM if the pool was unable to allocate * a new page. -- 2.23.0