summaryrefslogtreecommitdiffstats
path: root/include/linux/psi_types.h
diff options
context:
space:
mode:
authorHao Lee <haolee.swjtu@gmail.com>2022-09-19 07:23:56 +0000
committerPeter Zijlstra <peterz@infradead.org>2022-10-30 10:12:13 +0100
commite38f89af6a13e895805febd3a329a13ab7e66fa4 (patch)
treead302bbf6c7dbde1da91a132b49ca09321c74584 /include/linux/psi_types.h
parent851a723e45d1c4c8f6f7b0d2cfbc5f53690bb4e9 (diff)
downloadlinux-stable-e38f89af6a13e895805febd3a329a13ab7e66fa4.tar.gz
linux-stable-e38f89af6a13e895805febd3a329a13ab7e66fa4.tar.bz2
linux-stable-e38f89af6a13e895805febd3a329a13ab7e66fa4.zip
sched/psi: Fix possible missing or delayed pending event
When a pending event exists and growth is less than the threshold, the current logic is to skip this trigger without generating event. However, from e6df4ead85d9 ("psi: fix possible trigger missing in the window"), our purpose is to generate event as long as pending event exists and the rate meets the limit, no matter what growth is. This patch handles this case properly. Fixes: e6df4ead85d9 ("psi: fix possible trigger missing in the window") Signed-off-by: Hao Lee <haolee.swjtu@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Suren Baghdasaryan <surenb@google.com> Link: https://lore.kernel.org/r/20220919072356.GA29069@haolee.io
Diffstat (limited to 'include/linux/psi_types.h')
0 files changed, 0 insertions, 0 deletions