From: Tejun Heo <tj@kernel.org>
To: Liang Jie <buaajxlj@163.com>
Cc: void@manifault.com, mingo@redhat.com, peterz@infradead.org,
juri.lelli@redhat.com, vincent.guittot@linaro.org,
dietmar.eggemann@arm.com, rostedt@goodmis.org,
bsegall@google.com, mgorman@suse.de, vschneid@redhat.com,
linux-kernel@vger.kernel.org, fanggeng@lixiang.com,
yangchen11@lixiang.com, Liang Jie <liangjie@lixiang.com>
Subject: Re: [PATCH] sched_ext: Use sizeof_field for key_len in dsq_hash_params
Date: Fri, 13 Dec 2024 06:51:56 -1000 [thread overview]
Message-ID: <Z1xmLMuaP8BcIEtJ@slm.duckdns.org> (raw)
In-Reply-To: <20241213095254.1577635-1-buaajxlj@163.com>
On Fri, Dec 13, 2024 at 05:52:54PM +0800, Liang Jie wrote:
> From: Liang Jie <liangjie@lixiang.com>
>
> Update the `dsq_hash_params` initialization to use `sizeof_field`
> for the `key_len` field instead of a hardcoded value.
>
> This improves code readability and ensures the key length dynamically
> matches the size of the `id` field in the `scx_dispatch_q` structure.
>
> Signed-off-by: Liang Jie <liangjie@lixiang.com>
Applied to sched_ext/for-6.14.
Thanks.
--
tejun
prev parent reply other threads:[~2024-12-13 16:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-13 9:52 [PATCH] sched_ext: Use sizeof_field for key_len in dsq_hash_params Liang Jie
2024-12-13 16:51 ` Tejun Heo [this message]
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=Z1xmLMuaP8BcIEtJ@slm.duckdns.org \
--to=tj@kernel.org \
--cc=bsegall@google.com \
--cc=buaajxlj@163.com \
--cc=dietmar.eggemann@arm.com \
--cc=fanggeng@lixiang.com \
--cc=juri.lelli@redhat.com \
--cc=liangjie@lixiang.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=vincent.guittot@linaro.org \
--cc=void@manifault.com \
--cc=vschneid@redhat.com \
--cc=yangchen11@lixiang.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