commit | dc50537bdd1a0804fa2cbc990565ee9a944e66fa | [log] [tgz] |
---|---|---|
author | Johannes Weiner <[email protected]> | Tue Mar 05 15:45:48 2019 -0800 |
committer | Linus Torvalds <[email protected]> | Tue Mar 05 21:07:17 2019 -0800 |
tree | 53612bc32abbad48ec53a961f866b6244bc02bf9 | |
parent | 147e1a97c4a0bdd43f55a582a9416bb9092563a9 [diff] |
kernel: cgroup: add poll file operation Cgroup has a standardized poll/notification mechanism for waking all pollers on all fds when a filesystem node changes. To allow polling for custom events, add a .poll callback that can override the default. This is in preparation for pollable cgroup pressure files which have per-fd trigger configurations. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Johannes Weiner <[email protected]> Signed-off-by: Suren Baghdasaryan <[email protected]> Cc: Dennis Zhou <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Li Zefan <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Tejun Heo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>