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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no 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 3A4E6C433E0 for ; Tue, 16 Jun 2020 22:33:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7CC71207D3 for ; Tue, 16 Jun 2020 22:33:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7CC71207D3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=hisilicon.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 0D7D66B0003; Tue, 16 Jun 2020 18:33:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0AF376B0005; Tue, 16 Jun 2020 18:33:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F066E6B0006; Tue, 16 Jun 2020 18:33:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0164.hostedemail.com [216.40.44.164]) by kanga.kvack.org (Postfix) with ESMTP id D33876B0003 for ; Tue, 16 Jun 2020 18:33:25 -0400 (EDT) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 525A6181AC9B6 for ; Tue, 16 Jun 2020 22:33:25 +0000 (UTC) X-FDA: 76936527570.01.roll06_3f102b926e02 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin01.hostedemail.com (Postfix) with ESMTP id 480E120001115701 for ; Tue, 16 Jun 2020 22:33:23 +0000 (UTC) X-HE-Tag: roll06_3f102b926e02 X-Filterd-Recvd-Size: 1706 Received: from huawei.com (szxga05-in.huawei.com [45.249.212.191]) by imf21.hostedemail.com (Postfix) with ESMTP for ; Tue, 16 Jun 2020 22:33:22 +0000 (UTC) Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 0C1FEA5F092C63276926; Wed, 17 Jun 2020 06:33:19 +0800 (CST) Received: from SWX921481.china.huawei.com (10.126.203.10) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.487.0; Wed, 17 Jun 2020 06:33:10 +0800 From: Barry Song To: , CC: , , , Barry Song Subject: [PATCH v2 0/2] mm: fix the names of general cma and hugetlb cma Date: Wed, 17 Jun 2020 10:31:29 +1200 Message-ID: <20200616223131.33828-1-song.bao.hua@hisilicon.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.126.203.10] X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: 480E120001115701 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam01 Content-Transfer-Encoding: quoted-printable 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: the current code of CMA can only work when users pass a const string as n= ame parameter. we need to fix the way to handle names in CMA. On the other hand, to avoid name conflicts after enabling CMA_DEBUGFS, ea= ch hugetlb should get a different CMA name. -v2: add acked-by and reviewed-by rebase to 5.8-rc1 Barry Song (2): mm: cma: fix the name of CMA areas mm: hugetlb: fix the name of hugetlb CMA mm/cma.c | 13 ++++++------- mm/cma.h | 4 +++- mm/hugetlb.c | 4 +++- 3 files changed, 12 insertions(+), 9 deletions(-) --=20 2.23.0