Re: [PATCH 2/6] cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv

From: Linus Torvalds
Date: Fri Dec 10 2021 - 14:15:11 EST


On Fri, Dec 10, 2021 at 11:06 AM Tejun Heo <tj@xxxxxxxxxx> wrote:
>
> Just so that I'm understanding you correctly. The following is what I was
> suggesting. ie. just dropping the union and making the iterator embedded:

Oh, I thought that by keeping them separate you meant still keeping the union.

But you just meant separating them into their own "namespace" sub-structures.

That's fine by me, I don't think it matters, and if you find the
namespacing helpful go right ahead.

Linus