Re: [PATCH] drm/ttm: Add cgroup memory accounting for GTT memory

2024-06-07 Thread Christian König
Subject: Re: [PATCH] drm/ttm: Add cgroup memory accounting for GTT memory Am 06.06.24 um 21:22 schrieb Mukul Joshi: Make sure we do not overflow the memory limits set for a cgroup when doing GTT memory allocations. NAK, That's intentionally not done like that. Please see the cgroup discussi

RE: [PATCH] drm/ttm: Add cgroup memory accounting for GTT memory

2024-06-07 Thread Joshi, Mukul
[PATCH] drm/ttm: Add cgroup memory accounting for GTT > memory > > Am 06.06.24 um 21:22 schrieb Mukul Joshi: > > Make sure we do not overflow the memory limits set for a cgroup when > > doing GTT memory allocations. > > NAK, That's intentionally not done like

Re: [PATCH] drm/ttm: Add cgroup memory accounting for GTT memory

2024-06-07 Thread Christian König
Am 06.06.24 um 21:22 schrieb Mukul Joshi: Make sure we do not overflow the memory limits set for a cgroup when doing GTT memory allocations. NAK, That's intentionally not done like that. Please see the cgroup discussion on memory management on the public mailing list. Regards, Christian.

[PATCH] drm/ttm: Add cgroup memory accounting for GTT memory

2024-06-06 Thread Mukul Joshi
Make sure we do not overflow the memory limits set for a cgroup when doing GTT memory allocations. Suggested-by: Philip Yang Signed-off-by: Mukul Joshi --- drivers/gpu/drm/ttm/ttm_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_pool.c b/drivers