[Intel-gfx] sw_sync deadlock avoidance, take 3
Daniel Stone
daniel at fooishbar.org
Wed Jul 15 10:29:49 UTC 2020
Hi,
On Wed, 15 Jul 2020 at 11:23, Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl> wrote:
> My concern with going in this direction was that we potentially allow
> an application to allocate a lot of kernel memory but not a lot of fds
> by creating lots of fences and then closing the fds but never
> signaling them. Is that not an issue?
sw_sync is a userspace DoS mechanism by design - if someone wants to
enable and use it, they have bigger problems than unbounded memory
allocations.
Cheers,
Daniel
More information about the Intel-gfx
mailing list