Re: [GIT PULL] cgroup changes for v4.18-rc1

From: Linus Torvalds
Date: Wed Jun 06 2018 - 11:14:45 EST


On Wed, Jun 6, 2018 at 8:04 AM Tejun Heo <tj@xxxxxxxxxx> wrote:
>
> The notification implementation isn't super light weight, so the patch
> ratelimits the notifications by capping minimum notification interval
> interval to 10ms.

Yeah, I looked at the patch (and the code) to make sense of the explanation.

My reaction to that was that it might be a better idea to simply not
notify if a notification was already pending, rather than have the
timeout. Or perhaps in addition to. The path _to_ the fsnotify code
looked quite messy, though.

Linus