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 A61CCC433E1 for ; Wed, 3 Jun 2020 08:42:04 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 693C7206C3 for ; Wed, 3 Jun 2020 08:42:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 693C7206C3 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 D9CAF8E0007; Wed, 3 Jun 2020 04:42:03 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D4D3A8E0006; Wed, 3 Jun 2020 04:42:03 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C62F48E0007; Wed, 3 Jun 2020 04:42:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0169.hostedemail.com [216.40.44.169]) by kanga.kvack.org (Postfix) with ESMTP id AA9B28E0006 for ; Wed, 3 Jun 2020 04:42:03 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 67A792490 for ; Wed, 3 Jun 2020 08:42:03 +0000 (UTC) X-FDA: 76887258126.15.root78_6923b1f2e8014 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin15.hostedemail.com (Postfix) with ESMTP id 190221814B0CA for ; Wed, 3 Jun 2020 08:42:03 +0000 (UTC) X-HE-Tag: root78_6923b1f2e8014 X-Filterd-Recvd-Size: 1655 Received: from huawei.com (szxga05-in.huawei.com [45.249.212.191]) by imf07.hostedemail.com (Postfix) with ESMTP for ; Wed, 3 Jun 2020 08:42:02 +0000 (UTC) Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id E0C7CDB02565211492AB; Wed, 3 Jun 2020 16:41:58 +0800 (CST) Received: from SWX921481.china.huawei.com (10.126.202.66) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.487.0; Wed, 3 Jun 2020 16:41:49 +0800 From: Barry Song To: , CC: , , , , Barry Song Subject: [PATCH 0/2] mm: fix the names of general cma and hugetlb cma Date: Wed, 3 Jun 2020 20:40:23 +1200 Message-ID: <20200603084025.62740-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.202.66] X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: 190221814B0CA X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam03 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. 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