Hi,
On Wed, 15 Jul 2020 at 11:23, Bas Nieuwenhuizen bas@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