[RFC PATCH v3 07/11] drm, cgroup: Add TTM buffer allocation stats
Kenny Ho
y2kenny at gmail.com
Thu Jun 27 20:17:09 UTC 2019
On Thu, Jun 27, 2019 at 2:01 AM Daniel Vetter <daniel at ffwll.ch> wrote:
>
> btw reminds me: I guess it would be good to have a per-type .total
> read-only exposed, so that userspace has an idea of how much there is?
> ttm is trying to be agnostic to the allocator that's used to manage a
> memory type/resource, so doesn't even know that. But I think something we
> need to expose to admins, otherwise they can't meaningfully set limits.
I don't think I understand this bit, do you mean total across multiple
GPU of the same mem type? Or do you mean the total available per GPU
(or something else?)
Regards,
Kenny
More information about the amd-gfx
mailing list