Files
kernel_xiaomi_raphael/include/linux
Johannes Weiner 90ed659d17 BACKPORT: 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/20190124211518.244221-3-surenb@google.com
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Cc: Dennis Zhou <dennis@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Li Zefan <lizefan@huawei.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

(cherry picked from commit: dc50537bdd1a0804fa2cbc990565ee9a944e66fa)

Conflicts:
        include/linux/cgroup-defs.h
        kernel/cgroup.c

(1. replaced __poll_t with unsigned int)

Bug: 127712811
Test: lmkd in PSI mode
Change-Id: I21aff1d9d31e3d4b45e257aa4d299405a2ce6de3
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-03-21 16:19:56 -07:00
..
2018-08-03 08:56:38 +02:00
2018-05-25 17:23:22 +02:00
2018-10-04 16:14:47 -07:00
2018-04-24 09:36:39 +02:00
2018-11-08 07:43:01 -08:00
2017-07-03 16:56:28 -06:00
2018-02-22 15:42:23 +01:00
2019-03-21 16:19:55 -07:00
2017-08-30 14:40:40 +02:00
2019-03-13 14:18:51 -07:00
2018-09-26 08:42:37 +02:00
2018-05-30 13:17:17 +02:00
2017-08-24 13:23:03 -07:00
2018-02-22 15:42:23 +01:00
2017-07-17 13:42:48 +02:00
2017-08-07 17:22:14 +02:00
2018-02-22 15:42:23 +01:00
2018-12-01 09:50:46 +01:00
2018-04-12 09:41:49 -07:00
2018-06-21 04:02:49 +09:00
2017-06-21 14:37:12 -04:00
2018-02-22 15:42:24 +01:00
2017-08-15 18:23:52 +02:00
2018-01-04 13:50:35 +01:00
2017-08-28 20:51:22 +02:00
2017-09-07 11:53:11 +02:00
2018-09-20 11:10:00 +02:00
2018-10-13 10:44:28 +02:00
2019-01-16 22:18:11 +01:00
2018-01-29 19:39:59 -08:00
2018-02-22 15:42:23 +01:00
2017-07-06 11:30:07 -04:00
2017-07-25 18:05:25 +02:00
2017-09-25 08:56:05 -06:00
2018-09-09 19:55:54 +02:00
2019-02-20 10:43:03 +01:00
2017-08-06 20:55:29 -07:00
2018-02-22 19:18:40 +00:00
2018-10-04 16:14:47 -07:00
2017-07-06 16:24:30 -07:00
2017-08-16 16:28:47 -07:00
2018-04-26 11:37:46 +02:00
2018-11-13 11:15:11 -08:00
2017-07-24 17:50:37 +02:00
2018-09-10 09:21:07 +02:00
2017-08-31 18:50:14 +02:00
2017-08-15 09:02:07 -07:00
2017-08-15 09:02:08 -07:00