diff options
author | Muchun Song <songmuchun@bytedance.com> | 2020-11-14 07:52:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-11-14 20:26:04 +0100 |
commit | 8b21ca0218d29cc6bb7028125c7e5a10dfb4730c (patch) | |
tree | 6fd428cbac4b76d9c897398fc314eb88c09a94cc /mm/memory-failure.c | |
parent | kernel/watchdog: fix watchdog_allowed_mask not used warning (diff) | |
download | linux-8b21ca0218d29cc6bb7028125c7e5a10dfb4730c.tar.xz linux-8b21ca0218d29cc6bb7028125c7e5a10dfb4730c.zip |
mm: memcontrol: fix missing wakeup polling thread
When we poll the swap.events, we can miss being woken up when the swap
event occurs. Because we didn't notify.
Fixes: f3a53a3a1e5b ("mm, memcontrol: implement memory.swap.events")
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Roman Gushchin <guro@fb.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Yafang Shao <laoar.shao@gmail.com>
Cc: Chris Down <chris@chrisdown.name>
Cc: Tejun Heo <tj@kernel.org>
Link: https://lkml.kernel.org/r/20201105161936.98312-1-songmuchun@bytedance.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions