From: Tejun Heo <tj@kernel.org>
To: Chuyi Zhou <zhouchuyi@bytedance.com>
Cc: cgroups@vger.kernel.org, longman@redhat.com, hughd@google.com,
wuyun.abel@bytedance.com, hezhongkun.hzk@bytedance.com,
chenying.kernel@bytedance.com, zhanghaoyu.zhy@bytedance.com
Subject: Re: [problem] Hung task caused by memory migration when cpuset.mems changes
Date: Wed, 27 Mar 2024 06:13:13 -1000 [thread overview]
Message-ID: <ZgRFmfeOpKiHzBkM@slm.duckdns.org> (raw)
In-Reply-To: <95a41821-6bae-4934-ac3c-9f720dc9a703@bytedance.com>
On Wed, Mar 27, 2024 at 10:07:23PM +0800, Chuyi Zhou wrote:
> > One approach we can take is pushing the cpuset_migrate_mm_wq flushing to
> > task_work so that it happens after cpuset mutex is dropped. That way we
> > maintain the operation synchronicity for the issuer while avoiding bothering
> > anyone else.
> >
> > Can you see whether the following patch fixes the issue for you? Thanks.
>
>
> Thanks for the reply! I think it would help to fix this issue.
>
> BTW, will you merge this patch to the mainline?
Sure but I'd really like to see that it actually solves the issues you're
experiencing before merging it.
Thanks.
--
tejun
next prev parent reply other threads:[~2024-03-27 16:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-25 14:46 [problem] Hung task caused by memory migration when cpuset.mems changes Chuyi Zhou
2024-03-26 17:26 ` Tejun Heo
2024-03-27 14:07 ` Chuyi Zhou
2024-03-27 16:13 ` Tejun Heo [this message]
2024-03-27 17:14 ` Waiman Long
2024-03-27 21:43 ` Tejun Heo
2024-03-28 7:53 ` Abel Wu
2024-03-28 17:19 ` Tejun Heo
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=ZgRFmfeOpKiHzBkM@slm.duckdns.org \
--to=tj@kernel.org \
--cc=cgroups@vger.kernel.org \
--cc=chenying.kernel@bytedance.com \
--cc=hezhongkun.hzk@bytedance.com \
--cc=hughd@google.com \
--cc=longman@redhat.com \
--cc=wuyun.abel@bytedance.com \
--cc=zhanghaoyu.zhy@bytedance.com \
--cc=zhouchuyi@bytedance.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