lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20170915155115.GG378890@devbig577.frc2.facebook.com> Date: Fri, 15 Sep 2017 08:51:15 -0700 From: Tejun Heo <tj@...nel.org> To: Shaohua Li <shli@...nel.org> Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org, lizefan@...wei.com, tglx@...utronix.de, kernel-team@...com, axboe@...nel.dk, Shaohua Li <shli@...com> Subject: Re: [PATCH V3 1/4] kthread: add a mechanism to store cgroup info On Thu, Sep 14, 2017 at 02:02:04PM -0700, Shaohua Li wrote: > From: Shaohua Li <shli@...com> > > kthread usually runs jobs on behalf of other threads. The jobs should be > charged to cgroup of original threads. But the jobs run in a kthread, > where we lose the cgroup context of original threads. The patch adds a > machanism to record cgroup info of original threads in kthread context. > Later we can retrieve the cgroup info and attach the cgroup info to jobs. > > Since this mechanism is only required by kthread, we store the cgroup > info in kthread data instead of generic task_struct. > > Signed-off-by: Shaohua Li <shli@...com> Acked-by: Tejun Heo <tj@...nel.org> Thanks. -- tejun
Powered by blists - more mailing lists