Skip to content
Commit 8e0ed445 authored by Michal Hocko's avatar Michal Hocko Committed by Linus Torvalds
Browse files

vmpressure: do not check for pending work to prevent from new work



because it is racy and it doesn't give us much anyway as schedule_work
handles this case already.

Signed-off-by: default avatarMichal Hocko <mhocko@suse.cz>
Reported-by: default avatarTejun Heo <tj@kernel.org>
Cc: Anton Vorontsov <anton.vorontsov@linaro.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Li Zefan <lizefan@huawei.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 22f2020f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment