All of lore.kernel.org
 help / color / mirror / Atom feed
* [Question] Do we need remote charging for cpu and cpuacct subsys?
@ 2021-07-02  8:26 ` Hao Lee
  0 siblings, 0 replies; 15+ messages in thread
From: Hao Lee @ 2021-07-02  8:26 UTC (permalink / raw)
  To: linux-mm, cgroups, linux-kernel; +Cc: tj

Hi,

memcg currently has a remote charging mechanism that can charge usage to other
memcg instead of the one the task belongs to.

In our environment, we need to account the cpu usage consumed by some kworkers
to a specific cgroup. Thus, we want to introduce a remote-charging mechanism to
cpu and cpuacct subsys in our kernel.

I want to know if the community has a plan to do this?
What will the community approach look like?

I think we need to move the active_memcg to a separated active_cgroup struct,
and the latter will contain active_memcg, active_tg, and active_cpuacct.


Regards,
Hao Lee

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-07-09 15:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-02  8:26 [Question] Do we need remote charging for cpu and cpuacct subsys? Hao Lee
2021-07-02  8:26 ` Hao Lee
2021-07-02  8:26 ` Hao Lee
2021-07-02 20:07 ` Daniel Jordan
2021-07-02 20:19   ` Daniel Jordan
2021-07-02 20:19     ` Daniel Jordan
2021-07-03 16:18   ` Hao Lee
2021-07-03 16:18     ` Hao Lee
2021-07-03 16:18     ` Hao Lee
2021-07-09 15:17     ` Daniel Jordan
2021-07-09 15:17       ` Daniel Jordan
2021-07-02 22:26 ` Tejun Heo
2021-07-02 22:26   ` Tejun Heo
2021-07-03 16:20   ` Hao Lee
2021-07-03 16:20     ` Hao Lee

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.