Re: [PATCH -tip 24/32] sched: Release references to the per-task cookie on exit

From: Peter Zijlstra
Date: Wed Nov 25 2020 - 08:05:05 EST


On Tue, Nov 17, 2020 at 06:19:54PM -0500, Joel Fernandes (Google) wrote:
> During exit, we have to free the references to a cookie that might be shared by
> many tasks. This commit therefore ensures when the task_struct is released, any
> references to cookies that it holds are also released.

This is one of those patches that just shouldn't exist. Squash it into
whatever patch that introduces this nonsense.