Re: [PATCH 0/7] kernel/cgroups: Add "dev" memory accounting cgroup.

2024-11-13 Thread Tejun Heo
Hello, On Wed, Nov 13, 2024 at 03:58:25PM +0100, Maarten Lankhorst wrote: ... > Thanks for all feedback and discussion. I checked mostly on patchwork so I > missed the discussion here. Fortunately it's only been about naming. :) > > I'm thinking of adding a 'high' knob as well, that will work sim

Re: [PATCH 0/7] kernel/cgroups: Add "dev" memory accounting cgroup.

2024-11-13 Thread Maarten Lankhorst
Hey, Den 2024-11-06 kl. 19:20, skrev Tejun Heo: On Wed, Nov 06, 2024 at 11:31:49AM +0100, Maxime Ripard wrote: ... How about dmem for this one, and dpu for the other one. For device memory and device processing unit, respectively. dmem sounds great to me, does everyone agree? Sounds good to

Re: [PATCH 0/7] kernel/cgroups: Add "dev" memory accounting cgroup.

2024-11-06 Thread Tejun Heo
On Wed, Nov 06, 2024 at 11:31:49AM +0100, Maxime Ripard wrote: ... > > How about dmem for this one, and dpu for the other one. For device > > memory and device processing unit, respectively. > > dmem sounds great to me, does everyone agree? Sounds good to me. Thanks. -- tejun

Re: [PATCH 0/7] kernel/cgroups: Add "dev" memory accounting cgroup.

2024-11-06 Thread Maxime Ripard
On Tue, Oct 29, 2024 at 04:38:34PM -0400, Johannes Weiner wrote: > On Mon, Oct 28, 2024 at 11:05:48AM +0100, Maxime Ripard wrote: > > On Thu, Oct 24, 2024 at 07:06:36AM -1000, Tejun Heo wrote: > > > Hello, > > > > > > On Thu, Oct 24, 2024 at 09:20:43AM +0200, Maxime Ripard wrote: > > > ... > > > >

Re: [PATCH 0/7] kernel/cgroups: Add "dev" memory accounting cgroup.

2024-10-29 Thread Johannes Weiner
On Mon, Oct 28, 2024 at 11:05:48AM +0100, Maxime Ripard wrote: > On Thu, Oct 24, 2024 at 07:06:36AM -1000, Tejun Heo wrote: > > Hello, > > > > On Thu, Oct 24, 2024 at 09:20:43AM +0200, Maxime Ripard wrote: > > ... > > > > Yeah, let's not use "dev" name for this. As Waiman pointed out, it > > > >

Re: [PATCH 0/7] kernel/cgroups: Add "dev" memory accounting cgroup.

2024-10-28 Thread Maxime Ripard
On Thu, Oct 24, 2024 at 07:06:36AM -1000, Tejun Heo wrote: > Hello, > > On Thu, Oct 24, 2024 at 09:20:43AM +0200, Maxime Ripard wrote: > ... > > > Yeah, let's not use "dev" name for this. As Waiman pointed out, it > > > conflicts > > > with the devices controller from cgroup1. While cgroup1 is mo

Re: [PATCH 0/7] kernel/cgroups: Add "dev" memory accounting cgroup.

2024-10-25 Thread Tejun Heo
Hello, On Thu, Oct 24, 2024 at 09:20:43AM +0200, Maxime Ripard wrote: ... > > Yeah, let's not use "dev" name for this. As Waiman pointed out, it conflicts > > with the devices controller from cgroup1. While cgroup1 is mostly > > deprecated, the same features are provided through BPF in systemd usi

Re: [PATCH 0/7] kernel/cgroups: Add "dev" memory accounting cgroup.

2024-10-24 Thread Maxime Ripard
Hi Tejun, Thanks a lot for your review. On Wed, Oct 23, 2024 at 09:40:28AM -1000, Tejun Heo wrote: > On Wed, Oct 23, 2024 at 09:52:53AM +0200, Maarten Lankhorst wrote: > > New submission! > > I've added documentation for each call, and integrated the renaming from > > drm cgroup to dev cgroup, ba

Re: [PATCH 0/7] kernel/cgroups: Add "dev" memory accounting cgroup.

2024-10-23 Thread Tejun Heo
Hello, On Wed, Oct 23, 2024 at 09:52:53AM +0200, Maarten Lankhorst wrote: > New submission! > I've added documentation for each call, and integrated the renaming from > drm cgroup to dev cgroup, based on maxime ripard's work. > > Maxime has been testing this with dma-buf heaps and v4l2 too, and i

[PATCH 0/7] kernel/cgroups: Add "dev" memory accounting cgroup.

2024-10-23 Thread Maarten Lankhorst
New submission! I've added documentation for each call, and integrated the renaming from drm cgroup to dev cgroup, based on maxime ripard's work. Maxime has been testing this with dma-buf heaps and v4l2 too, and it seems to work. In the initial submission, I've decided to only add the smallest en