Received: by 2002:ab2:6f44:0:b0:1fd:c486:4f03 with SMTP id l4csp104707lqq; Wed, 12 Jun 2024 18:50:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxGNSFA9Jv9hWEb39ZilQFChMqmAziWQr1ZMY7Rk7gQ5eRkyxq6RrODWWpELWRdYpGv/KIubBAku9BRkYk2mLTZ7J2seXE4waXbOaBMQ== X-Google-Smtp-Source: AGHT+IGqsH4gMXyaXDlWsR36g/IrGVFoAxltVMeaPgidc3J3wZSGpVMPLjGFyHE9/PgLHIAcycuw X-Received: by 2002:a05:6358:60c6:b0:19f:3fcf:d9ba with SMTP id e5c5f4694b2df-19f69d88661mr425617055d.20.1718243449510; Wed, 12 Jun 2024 18:50:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718243449; cv=pass; d=google.com; s=arc-20160816; b=yFQfG6YVboR6ACvbv1oRC7B5hBeGAYATqsOV7tH/JH+AUKptnbxO4ofEyRIzV4x2ua v2fq7e2uxYuSw1zCkZsBthG1GtSVhDKJoxcX5eyws3se8H22EyE+kQY0+zVGTNJzviqz lpQ3b4YY0lKd9qeDB9D26DE8LNoWjpsPOsRxp/GiPSLWXy+1FTch+voq/qN6G8iuLfpI TWZx5md5pg5d2aJq8XU2zS8xUVksaxMCjMvBqBeZ2ckbV4rLhM8h7QRK8QznCeHaZH4/ FQmPKnGjsZiJNqLgBbyagM7lsXbKlte6YV9vaNKE4eaIz6G1IfdKReIIBmHNENUYIFmR Ys6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=0IGZlxhgqIOvsBzI+HIdonPZ6vLTPPuZGp3uHJuVHsk=; fh=kc7nu5RIhSJAml/4xX95GweadhMsLJyYjfluhdLxZNc=; b=MUYbYYqVGF0bwmJ4x3ZS3GTGu7vDHATEDQkdRMtjH3uie7QUQoa/jZ/kETpUGik6z6 D6/6EkiS2kDA3QYwkd2q0wBcgzSQG3u3s3ovBk1bRbAA8z1bLppG7ugRHKLXGTyUzz7q 9pOuWKO5z5CwYarFpbnkKeREe13nSNBGT01f4RC0LD1NxyX9/K7DQOhMQGILwFfZMh1c 6XMXLuaiXM8jR7+Po+u8AuBNar1vR7uHECf1bhr6fSzAdtbnBZp1TJfRXGmPqrKq81C5 YdglpuBdEh5voy5scd4V/5y5YlAUqK3d1GmzQIHEDpVUeCM2FxpZd5NFA8QMHKg9i915 QoFw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-212465-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212465-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fee453a71dsi262554a12.486.2024.06.12.18.50.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 18:50:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212465-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-212465-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212465-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 50CE1283505 for ; Thu, 13 Jun 2024 01:50:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33EE577A1E; Thu, 13 Jun 2024 01:50:20 +0000 (UTC) Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56F84168D0; Thu, 13 Jun 2024 01:50:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718243419; cv=none; b=aCFFRIfmRMYQ3Qxd0mA7G8+8v6nKov8yxcXGzhKO6jajdPcll5KtJgA8Zwgw8tAa6fhVt9I6dvqZH8GTqc8RS01r+IMDh55eT1+0gsbIeNUZ73OumB1ir0Q6I4vJm6N5VBt3tPJG3+p+Qe9tJv+trAUvMSTJnhwsXmUV85yxrIQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718243419; c=relaxed/simple; bh=37FNoyThb91+k69BH2A2XMi5p5DkUSGVuJLuAHPERM0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=YZTbt+unZII6xbZt+6JNFGvRg/q4Sw+SiFHhfeOhtWD/1e3hljym2rGh4tIR3noD/MA5IFoPvz10775OgtwIG/SlKe1xe+RqUZsMLXQwVlWvejkMhMeDQIPteWf58R1A3tlw5kYRq+qDTT4kZmgOJjQD+KbF6mc86j5/yG7QCY4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=45.249.212.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.19.163.235]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4W052K6rY8z4f3kJs; Thu, 13 Jun 2024 09:50:01 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.112]) by mail.maildlp.com (Postfix) with ESMTP id 876CF1A058E; Thu, 13 Jun 2024 09:50:08 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.104.67]) by APP1 (Coremail) with SMTP id cCh0CgBXKBFNUGpm3eFSPQ--.6570S6; Thu, 13 Jun 2024 09:50:08 +0800 (CST) From: Yu Kuai To: axboe@kernel.dk, tj@kernel.org, josef@toxicpanda.com, gregkh@linuxfoundation.org, lizefan.x@bytedance.com, hannes@cmpxchg.org Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, yukuai3@huawei.com, yukuai1@huaweicloud.com, yi.zhang@huawei.com, yangerkun@huawei.com Subject: [PATCH RFC -next 2/7] cgroup: export cgroup_parse_float Date: Thu, 13 Jun 2024 09:49:32 +0800 Message-Id: <20240613014937.1326020-3-yukuai1@huaweicloud.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240613014937.1326020-1-yukuai1@huaweicloud.com> References: <20240613014937.1326020-1-yukuai1@huaweicloud.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:cCh0CgBXKBFNUGpm3eFSPQ--.6570S6 X-Coremail-Antispam: 1UD129KBjvdXoWruryUXryxGFy3Jw4Duw15urg_yoWxZFX_Aw 1DWry0grWxA3ZF934qqws3Xayv9w4rKFWqv34UJFyUAF1DJF95JwnIqr15trsxCan7tryU uF9xurn7tr4DGjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb6AFF20E14v26rWj6s0DM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28IrcIa0xkI8VA2jI8067AKxVWUXwA2048vs2IY02 0Ec7CjxVAFwI0_Xr0E3s1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxSw2x7M28EF7xv wVC0I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVW8Jr0_Cr1UM2 8EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I0E14v26rxl6s0DM2AI xVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20x vE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xv r2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7M4IIrI8v6xkF7I0E8cxan2IY04 v7MxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_ Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUtVW8ZwCIc40Y0x 0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVW8 JVWxJwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIx AIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7VUbdOz7UUUUU= = X-CM-SenderInfo: 51xn3trlr6x35dzhxuhorxvhhfrp/ From: Yu Kuai The symbol is used by iocost, prepare to build iocost as kernel module. Signed-off-by: Yu Kuai --- kernel/cgroup/cgroup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index 4abd817b0c7c..81b579495f8c 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -6966,6 +6966,7 @@ int cgroup_parse_float(const char *input, unsigned dec_shift, s64 *v) *v = whole * power_of_ten(dec_shift) + frac; return 0; } +EXPORT_SYMBOL_GPL(cgroup_parse_float); /* * sock->sk_cgrp_data handling. For more info, see sock_cgroup_data -- 2.39.2