Re: [RFC PATCH 0/3] Introduce per-cgroup compression priority
zhongjinji <[email protected]> Thu, 30 Oct 2025 17:22:58 +0800
| Newsgroups | dev.linux.lists.drbd-dev,org.kernel.vger.cgroups,org.kernel.vger.linux-block,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
> Hello, > > On Sun, Oct 26, 2025 at 01:05:07AM +0000, jinji zhong wrote: > > This patch introduces a per-cgroup compression priority mechanism, > > where different compression priorities map to different algorithms. > > This allows administrators to select appropriate compression > > algorithms on a per-cgroup basis. > > I don't think it makes sense to tie this to cgroups. Is there something > preventing this from following the process hierarchy? > Thanks. Hello, Tejun, There is also a layer of page tables between the process and the page, so making it follow the process hierarchy would be complicated. But you make a good point; it may indeed be unnecessary to introduce a separate per-cgroup compression priority. As Nhat suggested, we could try reusing the per-cgroup swap priority. > -- > tejun