Re: [PATCH] cgroup/cpuset: Remove stale text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 03, 2024 at 10:43:26AM GMT, Waiman Long <llong@xxxxxxxxxx> wrote:
> Thank for noticing the stale comment. There is actually no task's cpuset
> pointer anymore.

Yeah, that likely evolved into task_struct.cgroup css_set pointer. The
"guidelines" for it are in sched.h/task_struct comments + comments for
struct cgroup_subsys_state.
Also, users may need css_get()/css_put() if they needs subsys state for
longer. (This info isn't actually cpuset specific.)

HTH,
Michal

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux