From: Christoph Hellwig <hch@infradead.org>
To: Yu Kuai <yukuai1@huaweicloud.com>
Cc: axboe@kernel.dk, tj@kernel.org, gregkh@linuxfoundation.org,
bvanassche@acm.org, hch@infradead.org, josef@toxicpanda.com,
lizefan.x@bytedance.com, hannes@cmpxchg.org,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
cgroups@vger.kernel.org, yukuai3@huawei.com, yi.zhang@huawei.com,
yangerkun@huawei.com
Subject: Re: [PATCH RFC v2 0/7] blk-iocost: support to build iocost as kernel module
Date: Tue, 18 Jun 2024 00:12:39 -0700 [thread overview]
Message-ID: <ZnEzZ0Xslaxfm-it@infradead.org> (raw)
In-Reply-To: <20240618031751.3470464-1-yukuai1@huaweicloud.com>
On Tue, Jun 18, 2024 at 11:17:44AM +0800, Yu Kuai wrote:
> The motivation is that iocost is not used widely in our production, and
> some customers don't want to increase kernel size to enable iocost that
> they will never use, and it'll be painful to maintain a new downstream
> kernel. Hence it'll be beneficially to build iocost as kernel module:
>
> - Kernel Size and Resource Usage, modules are loaded only when their
> specific functionality is required.
>
> - Flexibility and Maintainability, allows for dynamic loading and unloading
> of modules at runtime without the need to recompile and restart the kernel,
> for example we can just replace blk-iocost.ko to fix iocost CVE in our
> production environment.
Given the amount of new exports and infrastructure it adds this still
feels like a bad tradeoff.
next prev parent reply other threads:[~2024-06-18 7:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-18 3:17 [PATCH RFC v2 0/7] blk-iocost: support to build iocost as kernel module Yu Kuai
2024-06-18 3:17 ` [PATCH RFC v2 1/7] blk-cgroup: add a new helper pr_cont_blkg_path() Yu Kuai
2024-06-18 3:17 ` [PATCH RFC v2 2/7] cgroup: export cgroup_parse_float Yu Kuai
2024-06-18 3:17 ` [PATCH RFC v2 3/7] block: export some API Yu Kuai
2024-06-18 7:14 ` Christoph Hellwig
2024-06-18 7:58 ` Yu Kuai
2024-06-20 6:48 ` Christoph Hellwig
2024-06-18 3:17 ` [PATCH RFC v2 4/7] blk-iocost: factor out helpers to handle params from ioc_qos_write() Yu Kuai
2024-06-18 3:17 ` [PATCH RFC v2 5/7] blk-iocost: parse params before initializing iocost Yu Kuai
2024-06-18 3:17 ` [PATCH RFC v2 6/7] blk-iocost: support to free iocost Yu Kuai
2024-06-18 3:17 ` [PATCH RFC v2 7/7] blk-iocost: support to build iocost as kernel module Yu Kuai
2024-06-18 7:12 ` Christoph Hellwig [this message]
2024-06-18 8:03 ` [PATCH RFC v2 0/7] " Yu Kuai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZnEzZ0Xslaxfm-it@infradead.org \
--to=hch@infradead.org \
--cc=axboe@kernel.dk \
--cc=bvanassche@acm.org \
--cc=cgroups@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hannes@cmpxchg.org \
--cc=josef@toxicpanda.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan.x@bytedance.com \
--cc=tj@kernel.org \
--cc=yangerkun@huawei.com \
--cc=yi.zhang@huawei.com \
--cc=yukuai1@huaweicloud.com \
--cc=yukuai3@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox